Skip to content

Commit

Permalink
running the steps
Browse files Browse the repository at this point in the history
  • Loading branch information
fabricebrito committed Oct 31, 2023
1 parent c3bd465 commit 07f5157
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion docs/python-env/crop.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## Goal
### Goal

Run the `crop` step in a Python virtual environment.

Expand Down
10 changes: 5 additions & 5 deletions docs/python-env/norm-diff.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
## Goal
### Goal

Run the `normalized-difference` step in a Python virtual environment.

### Step 1 - Configure the workspace

The results produced will be available in the local folder `/workspace/runs`

```bash linenums="1" title="terminal"
```bash linenums="1" hl_lines="2-4" title="terminal"
--8<--
scripts/setup.sh
--8<--
Expand All @@ -20,7 +20,7 @@ source /workspace/app-package-training-bids23/scripts/setup.sh

The required Python modules are installed using `pip`:

```bash linenums="1" title="terminal"
```bash linenums="1" hl_lines="3" title="terminal"
--8<--
scripts/norm_diff_env.sh
--8<--
Expand All @@ -30,11 +30,11 @@ scripts/norm_diff_env.sh
source ${WORKSPACE}/scripts/norm_diff_env.sh
```

### Step 3 - Crop the green band
### Step 3 - Calculate the normalized difference

The command line tool is invoked to calculate the normalized difference between the green and NIR cropped bands:

```bash linenums="1" title="terminal"
```bash linenums="1" hl_lines="7-9" title="terminal"
--8<--
scripts/norm_diff.sh
--8<--
Expand Down

0 comments on commit 07f5157

Please sign in to comment.