Skip to content

Fix creation of binary dilation structure in masking and moments tutorial#40

Closed
e-koch wants to merge 1 commit into
radio-astro-tools:masterfrom
e-koch:master
Closed

Fix creation of binary dilation structure in masking and moments tutorial#40
e-koch wants to merge 1 commit into
radio-astro-tools:masterfrom
e-koch:master

Conversation

@e-koch

@e-koch e-koch commented Aug 5, 2024

Copy link
Copy Markdown
Collaborator

Found a small typo when applying the binary dilation operator in the final step of creating the signal mask.

@e-koch

e-koch commented Aug 5, 2024

Copy link
Copy Markdown
Collaborator Author

Failing due to aplpy import in spectral-cube. Will need to address upstream.

@keflavich keflavich left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

might want to add some clarification of the intent of/need for the added 'swapaxes' though

@e-koch

e-koch commented Jun 30, 2025

Copy link
Copy Markdown
Collaborator Author

This was fixed at some previous point. The final comment on clarifying swapaxes in now added in #41

@e-koch e-koch closed this Jun 30, 2025
e-koch added a commit to e-koch/tutorials that referenced this pull request Jun 30, 2025
e-koch added a commit that referenced this pull request Jun 30, 2025
* Fix creation of binary dilation structure

* Update fitting folder name since it also has spatial fitting

* add gitignore

* fixes and co-lab install for CASA/SC guide

* Update build requirements and notebook build path for page

* remove aplpy install; test for notebook build failure

* Remove aplpy from main requirements.txt

* Unpin versions

* Set min versions

* typo

* Build with py312; bump actions versions

* Test if numpy build version error triggered by modular casa packages

* Drop aplpy install next

* Try preinstalling numpy

* Combine build workflows to avoid future confusion on which version is running

* Rename workflow

* Fix branch name to trigger workflow on

* Add workflow_dispatch for manually triggering CI

* Remove numpy pre-install; workflow trigger fixed previous issue

* Use seaborn; mpl style support was dropped in 3.8

* Fix seaborn import

* Remove old workflow

* Add back building the casa to sc guide

* Updates to Dame outer CO arm tutorial

* Fixed typo

* Remove inline pip installs?

* Specify package installs in the notebook

* Try numpy import first?

* Specify packages needed for co-lab install so the required packages are easier to determine from within the tutorial

* Import numpy first; specify required packages in tutorial

* Minor tweaks for cube to cube reprojection

* Minor updates for reproject mask v4p1

* Minor tweaks to parallel fitting prototype example

* Remove NaNs

* Comment out parallel fitter for now to ensure rest of CI workflow is OK

* Simplify cp

* Avoid parallel fitter copy

* Rename folder

* Added example using astropy's builtin parallel dask fitter

* Remove older version of cube-to-cube masking tutorial

* Add back in build of parallel fitter

* Fix yml syntax

* Build is  hanging likely due to dask_image; switch signal masking to scipy.ndimage

* Need astropy v7 for parallel fitting functions

* casa is limited to py310. try separately setting up that environment from other tutorials

* Update label to be unique

* Try removing quotes on py 3.10 version

* Address remaining comment in #40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants