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

[Feature] Add a helper function to get the memory size of one image plane #289

Open
dstansby opened this issue Apr 3, 2023 · 0 comments
Labels
cellfinder-core Issue concerns the core backend enhancement New feature or request

Comments

@dstansby
Copy link
Member

dstansby commented Apr 3, 2023

When I document the cell detection steps, I'm going to include a discussion of the memory use by each of the steps in the pipeline. Because the cell detection works on a number of planes, this discussion will probably be in terms of the size of a single plane of input data.

It would therefore be good to have a user-facing helper function that looks like:

def get_plane_size_in_memory(arr: Union[np.ndarray, da.Array]) -> float
    ...

Users could use this to quickly query how big their data is, and thus estimate how much memory they need to run the cell detection step.

@dstansby dstansby added the enhancement New feature or request label Apr 3, 2023
@willGraham01 willGraham01 added the cellfinder-core Issue concerns the core backend label Jan 3, 2024
@willGraham01 willGraham01 transferred this issue from brainglobe/cellfinder-core Jan 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cellfinder-core Issue concerns the core backend enhancement New feature or request
Projects
Status: Backlog
Development

No branches or pull requests

2 participants