-
Notifications
You must be signed in to change notification settings - Fork 35
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
Add cavefish atlas 🐟 #277
Add cavefish atlas 🐟 #277
Conversation
brainglobe_atlasapi/atlas_generation/atlas_scripts/cavefish_atlas.py
Outdated
Show resolved
Hide resolved
for more information, see https://pre-commit.ci
tweaks: * renamed some variables * use pooch to unzip * make root mesh white * add additional reference * downsample both references to match annotation (with slight fudge) * use new URL * remove broken parallelisation part * make additional reference uint16 * make annotations uint8 * resolution now isotropic 2x2x2 micron
87a62cb
to
31e4ae4
Compare
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.
Looks good, but I'm very keen that we sort out this:
For now, I've ever so slightly fudged the downsampling factors to make them both match the (isotropic) annotation image dimensions exactly.
I made a few other comments to aid the future standardisation.
brainglobe_atlasapi/atlas_generation/atlas_scripts/cavefish_atlas.py
Outdated
Show resolved
Hide resolved
brainglobe_atlasapi/atlas_generation/atlas_scripts/cavefish_atlas.py
Outdated
Show resolved
Hide resolved
brainglobe_atlasapi/atlas_generation/atlas_scripts/cavefish_atlas.py
Outdated
Show resolved
Hide resolved
brainglobe_atlasapi/atlas_generation/atlas_scripts/cavefish_atlas.py
Outdated
Show resolved
Hide resolved
brainglobe_atlasapi/atlas_generation/atlas_scripts/cavefish_atlas.py
Outdated
Show resolved
Hide resolved
for more information, see https://pre-commit.ci
@alessandrofelder can this be merged now? I noticed the readme needs to be updated too. |
Description
What is this PR
Why is this PR needed?
We'd like to support @Robkozol 's cavefish atlas.
What does this PR do?
Adds a packaging script for the cavefish atlas.
Some notes:
For now, I've ever so slightly fudged the downsampling factors to make them both match the (isotropic) annotation image dimensions exactly.
This is what it looks like currently in grid view (row-wise from top left: root mesh, Pons mesh, Prepontine mesh; annotations, main (terk) reference, additional (cartpt) reference)
It passes our general internal validation for atlases.
References
Closes #259
How has this PR been tested?
Visual inspection and running atlas validation locally.
Is this a breaking change?
No
Does this PR require an update to the documentation?
We should add the cavefish atlas to the list of available atlases on the website (brainglobe/brainglobe.github.io#192)
Checklist: