Skip to content

Commit

Permalink
Restore ScriptingInFiji to the RTD page
Browse files Browse the repository at this point in the history
Also updated that page
  • Loading branch information
gselzer committed Apr 10, 2024
1 parent 97b0ccb commit d0af4b2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/ops/doc/ScriptingInFiji.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,9 @@ To run Ops, scripts require an `OpEnvironment`. The easiest way to obtain an `Op

## Obtaining inputs

Scripts using SciJava Ops obtain inputs like any other SciJava script, and the lines below will provide us with an `Img` input parameter and an `Img` output parameter, as well as a `ThreadService` which we will use later.
Scripts using SciJava Ops obtain inputs like any other SciJava script, and the lines below will provide us with an `Img` input parameter and an `Img` output parameter.

```text
#@ ThreadService ts
#@ Img imgInput
#@output Img out
```
Expand All @@ -35,10 +34,11 @@ The below script can be pasted into the Script Editor. **Ensure that the Script

```text
#@ OpEnvironment ops
#@ ThreadService ts
#@ Img imgInput
#@output Img out
// Call some Ops!
out = ops.op("filter.gauss").arity2().input(imgInput, new Double(3.0)).apply()
```

Scripting in Fiji is a convenient gateway to accessing SciJava Ops. To see more, check out some examples, such as [image deconvolution](examples/deconvolution.rst) or [FLIM analysis](examples/example_flim_analysis.rst)!
1 change: 1 addition & 0 deletions docs/ops/doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ The combination of these libraries allows declarative image analysis workflows,
CallingOps
SearchingForOps
Benchmarks
ScriptingInFiji

.. toctree::
:maxdepth: 2
Expand Down

0 comments on commit d0af4b2

Please sign in to comment.