-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update Notebooks #184
Update Notebooks #184
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #184 +/- ##
==========================================
- Coverage 90.58% 89.56% -1.02%
==========================================
Files 13 13
Lines 616 556 -60
==========================================
- Hits 558 498 -60
Misses 58 58 ☔ View full report in Codecov by Sentry. |
* docs: README and docs/index revision (#185) * separate out the goal and specific current dev for Echoview * small wording changes * Import Transect Checking from Hake-Labels (#162) * import transect checking from hake-labels, reduce strictness * add small bbox distance threshold test * simplify logic and fix bt et test * Update echoregions/regions2d/regions2d.py Co-authored-by: Wu-Jung Lee <[email protected]> * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * add wu jung's review suggestions * incorporate suggestion 5 second part * add wujungs suggestions * Merge main to feature branch (#168) * [pre-commit.ci] pre-commit autoupdate (#161) updates: - [github.com/PyCQA/isort: 5.12.0 → 5.13.1](PyCQA/isort@5.12.0...5.13.1) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> * [pre-commit.ci] pre-commit autoupdate (#165) updates: - [github.com/psf/black: 23.11.0 → 23.12.0](psf/black@23.11.0...23.12.0) - [github.com/PyCQA/isort: 5.13.1 → 5.13.2](PyCQA/isort@5.13.1...5.13.2) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> * Bump actions/download-artifact from 3 to 4 (#164) Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 3 to 4. - [Release notes](https://github.com/actions/download-artifact/releases) - [Commits](actions/download-artifact@v3...v4) --- updated-dependencies: - dependency-name: actions/download-artifact dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump actions/upload-artifact from 3 to 4 (#163) Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 3 to 4. - [Release notes](https://github.com/actions/upload-artifact/releases) - [Commits](actions/upload-artifact@v3...v4) --- updated-dependencies: - dependency-name: actions/upload-artifact dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * [pre-commit.ci] pre-commit autoupdate (#167) updates: - [github.com/psf/black: 23.12.0 → 23.12.1](psf/black@23.12.0...23.12.1) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> * Disentangle Nested If Else in Select Region and Add Region Class Selections (#160) * Disentangle nested if-else under Regions2D.select_region * update regions2d functions for region_id docstring and typehints * add region class * Update echoregions/regions2d/regions2d.py Co-authored-by: Wu-Jung Lee <[email protected]> * Update echoregions/regions2d/regions2d.py Co-authored-by: Wu-Jung Lee <[email protected]> * add wu jung's suggestions * add test for both non NaN region id and region class * small tweak of select_region docstring * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: Wu-Jung Lee <[email protected]> Co-authored-by: ctuguinay <[email protected]> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Wu-Jung Lee <[email protected]> Co-authored-by: ctuguinay <[email protected]> * fix idx min idx man logic * fix comment * Update .pre-commit-config.yaml * attempt to resolve conflict * test small whitespace change * revert change * add period * remove period * add space * revert change * move _check_transect_sequences outside * incorporate wu jungs bbox distance threshold comment --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: ctuguinay <[email protected]> Co-authored-by: Wu-Jung Lee <[email protected]> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * set inequality in Lines.mask (#187) --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: Wu-Jung Lee <[email protected]> Co-authored-by: ctuguinay <[email protected]> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
… mask labels used in masking
* docs: README and docs/index revision (#185) * separate out the goal and specific current dev for Echoview * small wording changes * Import Transect Checking from Hake-Labels (#162) * import transect checking from hake-labels, reduce strictness * add small bbox distance threshold test * simplify logic and fix bt et test * Update echoregions/regions2d/regions2d.py Co-authored-by: Wu-Jung Lee <[email protected]> * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * add wu jung's review suggestions * incorporate suggestion 5 second part * add wujungs suggestions * Merge main to feature branch (#168) * [pre-commit.ci] pre-commit autoupdate (#161) updates: - [github.com/PyCQA/isort: 5.12.0 → 5.13.1](PyCQA/isort@5.12.0...5.13.1) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> * [pre-commit.ci] pre-commit autoupdate (#165) updates: - [github.com/psf/black: 23.11.0 → 23.12.0](psf/black@23.11.0...23.12.0) - [github.com/PyCQA/isort: 5.13.1 → 5.13.2](PyCQA/isort@5.13.1...5.13.2) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> * Bump actions/download-artifact from 3 to 4 (#164) Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 3 to 4. - [Release notes](https://github.com/actions/download-artifact/releases) - [Commits](actions/download-artifact@v3...v4) --- updated-dependencies: - dependency-name: actions/download-artifact dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump actions/upload-artifact from 3 to 4 (#163) Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 3 to 4. - [Release notes](https://github.com/actions/upload-artifact/releases) - [Commits](actions/upload-artifact@v3...v4) --- updated-dependencies: - dependency-name: actions/upload-artifact dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * [pre-commit.ci] pre-commit autoupdate (#167) updates: - [github.com/psf/black: 23.12.0 → 23.12.1](psf/black@23.12.0...23.12.1) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> * Disentangle Nested If Else in Select Region and Add Region Class Selections (#160) * Disentangle nested if-else under Regions2D.select_region * update regions2d functions for region_id docstring and typehints * add region class * Update echoregions/regions2d/regions2d.py Co-authored-by: Wu-Jung Lee <[email protected]> * Update echoregions/regions2d/regions2d.py Co-authored-by: Wu-Jung Lee <[email protected]> * add wu jung's suggestions * add test for both non NaN region id and region class * small tweak of select_region docstring * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: Wu-Jung Lee <[email protected]> Co-authored-by: ctuguinay <[email protected]> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Wu-Jung Lee <[email protected]> Co-authored-by: ctuguinay <[email protected]> * fix idx min idx man logic * fix comment * Update .pre-commit-config.yaml * attempt to resolve conflict * test small whitespace change * revert change * add period * remove period * add space * revert change * move _check_transect_sequences outside * incorporate wu jungs bbox distance threshold comment --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: ctuguinay <[email protected]> Co-authored-by: Wu-Jung Lee <[email protected]> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * set inequality in Lines.mask (#187) --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: Wu-Jung Lee <[email protected]> Co-authored-by: ctuguinay <[email protected]> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* docs: README and docs/index revision (#185) * separate out the goal and specific current dev for Echoview * small wording changes * Import Transect Checking from Hake-Labels (#162) * import transect checking from hake-labels, reduce strictness * add small bbox distance threshold test * simplify logic and fix bt et test * Update echoregions/regions2d/regions2d.py Co-authored-by: Wu-Jung Lee <[email protected]> * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * add wu jung's review suggestions * incorporate suggestion 5 second part * add wujungs suggestions * Merge main to feature branch (#168) * [pre-commit.ci] pre-commit autoupdate (#161) updates: - [github.com/PyCQA/isort: 5.12.0 → 5.13.1](PyCQA/isort@5.12.0...5.13.1) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> * [pre-commit.ci] pre-commit autoupdate (#165) updates: - [github.com/psf/black: 23.11.0 → 23.12.0](psf/black@23.11.0...23.12.0) - [github.com/PyCQA/isort: 5.13.1 → 5.13.2](PyCQA/isort@5.13.1...5.13.2) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> * Bump actions/download-artifact from 3 to 4 (#164) Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 3 to 4. - [Release notes](https://github.com/actions/download-artifact/releases) - [Commits](actions/download-artifact@v3...v4) --- updated-dependencies: - dependency-name: actions/download-artifact dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump actions/upload-artifact from 3 to 4 (#163) Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 3 to 4. - [Release notes](https://github.com/actions/upload-artifact/releases) - [Commits](actions/upload-artifact@v3...v4) --- updated-dependencies: - dependency-name: actions/upload-artifact dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * [pre-commit.ci] pre-commit autoupdate (#167) updates: - [github.com/psf/black: 23.12.0 → 23.12.1](psf/black@23.12.0...23.12.1) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> * Disentangle Nested If Else in Select Region and Add Region Class Selections (#160) * Disentangle nested if-else under Regions2D.select_region * update regions2d functions for region_id docstring and typehints * add region class * Update echoregions/regions2d/regions2d.py Co-authored-by: Wu-Jung Lee <[email protected]> * Update echoregions/regions2d/regions2d.py Co-authored-by: Wu-Jung Lee <[email protected]> * add wu jung's suggestions * add test for both non NaN region id and region class * small tweak of select_region docstring * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: Wu-Jung Lee <[email protected]> Co-authored-by: ctuguinay <[email protected]> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Wu-Jung Lee <[email protected]> Co-authored-by: ctuguinay <[email protected]> * fix idx min idx man logic * fix comment * Update .pre-commit-config.yaml * attempt to resolve conflict * test small whitespace change * revert change * add period * remove period * add space * revert change * move _check_transect_sequences outside * incorporate wu jungs bbox distance threshold comment --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: ctuguinay <[email protected]> Co-authored-by: Wu-Jung Lee <[email protected]> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * set inequality in Lines.mask (#187) --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: Wu-Jung Lee <[email protected]> Co-authored-by: ctuguinay <[email protected]> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I did a full reread of the notebooks (so not just the recent changes). Here are my comments in sequence (let me know if it is not clear which lines I refer to):
Getting Started
-
tool -> python package
-
"Echoregions is a tool that interfaces annotations of water column sonar data with Machine Learning (ML) models." -> "Echoregions is a tool that interfaces with annotations of water column sonar data for training machine learning models or doing other downstream processing such as biomass estimation".
-
manual annotations -> turns out some annotations from Echoview are automatic annotations. Maybe we can say directly "Echoview" annotations (since this is the focus now)
-
Mention Echoview earlier
Lines Functionalities:
-
Installation: add instruction for installation from pypi
-
“masks them over corresponding sonar data“ -> create a bottom mask for the corresponding sonar data.
-
website link -> maybe just have a short handle
-
0 = none 1 = unverified 2 = bad 3 = good -> could write them on a separate line or use semi colon or something so that it is more readable
-
“For usage … let’s put set” set
-
introduce echopype link when first mentioning it.
-
However, for machine learning training purposes, or for biomass estimation, it is necessary to mask out the pixels below the bottom line.
-
“The mask function first interpolates on the bottom points found in the DataFrame and generates new points bottom points that match the ping time coordinates of the sonar data passed in, and from these new interpolated bottom points, generates an xarray bottom mask.” -> “interpolates the bottom points found in the DataFrame to generate new points bottom points”
-
Being more explicit that it operates on the ds_Sv[“Sv”] vs ds_Sv: what happens if we pass ds_Sv
-
bottom_contours: I usually think of contour as something closed (although I know it is is not necessary). I wonder if bottom boundary is better or maybe there is another term?
-
"Let’s take a look at the mask bottom_mask_da first:" was something expected after the column
-
Missing quote: ds_Sv["Sv]
-
explain that 1 is below the bottom line
-
what happens if you add Sv without limiting to one channel
-
mask exists -> mask is 1
-
bottom_contours (often contour is through to be closed)
-
ping time dimension of the passed in dataset
-
spline could have a zoomed-in plot example to see what it is doing
-
CSV ->
.csv
format (be a bit more formal in the language) -
sonar dataset language -> I am not sure if at some point we should change the sonar dataset language to "echosounder": it a bit depends on the user community: i.e. fisheries acoustics researcher, or a student training an ML model. We can decide this in the future.
Regions 2D Functionalities:
-
trawl_region? I think you want =“Trawl”? The dataframe shows as empty?
-
Same point about adding a link when introducing echopype and having shorter link handles for the other references.
-
How many regions are in this dataset: seems you are looping through them but there is just one?
-
"We can see that there is clear overlap between the two pieces of data here." ->
-
"We can see there is a faint dispersed region, which represents Hake distribution." It is a bit hard to see for a new-comer! The ek500 colormap can help.
-
point data -> region polygon? to a pixel mask indicating which pixels are inside the polygon and which are outside.
-
could mention that it is using the regionmask package under the hood
-
explain the "3d" in mask3d a bit more since this crucial to understanding the format of the mask: maybe point to what the dimensions are and link to some references from regionmask. An example with two regions may be more helpful for the explanation. You can link to the built-in documentation for more details.
-
mask exists -> mask is 1
-
So now that we have our mask and our new interpolated region points, how do we save them? -> no interpolated points here?
-
Maybe switch to the ek500 colormap if it does not add extra echopype requirements
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
@valentina-s Thanks for the review! I added Echoregions to ReviewNB incorporated most of your changes with just a few comments of my own: Getting Started
In the previous revision of the description, Wu-Jung made changes that were less Echoview-focused so that this package was not locked into Echoview. I think I agree with these changes too since the annotations don't necessarily need to come from EVL EVR, for instance we can create annotations with our model (in this case it would not be manual though 😆). Regions2d and Lines
Perhaps in this PR, we can sort out this naming issue. I think bottom boundary does not reflect what the data we actually get is: points. Perhaps bottom boundary points? Or bottom boundary vertices? I am also thinking of changing the region contour name with something like region boundary points/vertices. |
@@ -0,0 +1,2342 @@ | |||
{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@@ -0,0 +1,2342 @@ | |||
{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@@ -0,0 +1,2342 @@ | |||
{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@@ -0,0 +1,2342 @@ | |||
{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@@ -0,0 +1,2342 @@ | |||
{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The title is a bit confusing:
Platting Sonar and Region works, but masking should be masking a sonar with a region? Maybe you can split the sections: Plotting Sonar and Region, and next section: Masking Sonar by Region?
Reply via ReviewNB
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For some reason this caught my eye while I tried to delete the auto-generated emails from GitHubs. Please change "sonar" to echogram. Sonar is an instrument, echogram is the image formed by received sonar echoes.
@@ -0,0 +1,2342 @@ | |||
{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can you ad to the first sentence: masks of the sonar data, which indicate which points are within the region.
for the dimension you can use maybe quotes ping_time
and depth
Reply via ReviewNB
@@ -0,0 +1,2342 @@ | |||
{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@@ -0,0 +1,2342 @@ | |||
{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the points that constitute the region mask -> the points that constitute the region
Reply via ReviewNB
@@ -0,0 +1,2342 @@ | |||
{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@@ -0,0 +1,2342 @@ | |||
{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@@ -0,0 +1,1861 @@ | |||
{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@@ -0,0 +1,1861 @@ | |||
{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@@ -0,0 +1,1861 @@ | |||
{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@@ -0,0 +1,1861 @@ | |||
{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Given that the ek500 colormap made the bottom very red, and the red points became invisible: it is better to switch to anotehr color for the points.
Reply via ReviewNB
@@ -0,0 +1,1861 @@ | |||
{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
xarray -> xarray
or Xarray, for pandas you have it capitalized. You can decide on a way to represent the libraries and be consistent with it.
Reply via ReviewNB
@@ -0,0 +1,1861 @@ | |||
{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is interesting that the smoothed one also has a lot of points but that is more about our data than the package itself.
Reply via ReviewNB
@@ -0,0 +1,1861 @@ | |||
{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@@ -0,0 +1,1861 @@ | |||
{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Regarding bottom_contours: we could just call them bottom points since echoview also talks about bottom points at some places around its documentation.
Reply via ReviewNB
Thanks for adding ReviewNB @ctuguinay, it was very nice to use it! I went through the notebooks again and marked some small things which you can see in the viewer.
|
@valentina-s Thanks for the 2nd round of review! I incorporated all your suggestions. An additional thing I added/changed (based on Wu-Jung's suggestion) was the use of the words sonar, backscatter/Sv data, and echogram. I was using them interchangeably prior, but I tried to make a more clear distinction between them. Let me know what you think of these changes. |
@ctuguinay Could you just change Echoregion's to Echoregions' since the "s" is part of the package name (in both notebooks). Otherwise it all looks good and the notebooks run fine. |
select_region
earlier inr2d.mask
to simplify bothregion_id
selection andmask_labels
creation (when passed inmask_labels
is None)plot
bug where dataframe was being passed intoclose_region
even thoughclose_region
doesn't take in dataframesto_csv