Skip to content
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

Improve brainglobe-segmentation 1D segmentation documentation #134

Merged
merged 19 commits into from
Jan 11, 2024

Conversation

jingjie-li
Copy link
Contributor

No description provided.

@adamltyson adamltyson self-requested a review January 5, 2024 09:22
Copy link
Member

@adamltyson adamltyson left a comment

Choose a reason for hiding this comment

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

Thanks for this @jingjie-li, much appreciated! I've left a few comments, and some suggestions just to standardise formatting with the rest of the website.

You may want to use different [color](https://matplotlib.org/stable/users/explain/colors/colormaps.html) for each probe.
:::

For example: (package importing and rendering code can refer to [this example](https://github.com/brainglobe/brainrender/blob/main/examples/add_cells.py))
Copy link
Member

Choose a reason for hiding this comment

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

Would you mind adding all the extra import/render code, so there is a full example that users can copy and run easily?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes it's better to have a full example here. but it's a bit strange to put that much code in the doc. And it need the .npy file to run. Can I put those as an example in brainrender repo and also attached the example data file and then attach that link here?

Copy link
Member

Choose a reason for hiding this comment

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

I'm not sure it's so strange. I think it's something that lots of people will want to do. You could either add it to the brainrender examples along with the .npy file (feel free to raise a PR), or just add it here without the data making it obvious where to add the path to the file (e.g. .path/to/brainrender_export.npy).

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I have linked this example to brainrender repo, here is the PR: brainglobe/brainrender#313

@adamltyson adamltyson changed the title a little bit more doc for si-probe tracking with 1D segmentation Improve brainglobe-segmentation 1D segmentation documentation Jan 5, 2024
@adamltyson adamltyson self-requested a review January 11, 2024 17:12
Copy link
Member

@adamltyson adamltyson left a comment

Choose a reason for hiding this comment

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

Great, thanks @jingjie-li. I made some small changes but I think this is good to go 🎉

@adamltyson adamltyson merged commit 01306be into brainglobe:main Jan 11, 2024
2 checks passed
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