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

generalize dimension skipping/decimation #5

Open
tlambert03 opened this issue Mar 29, 2021 · 0 comments
Open

generalize dimension skipping/decimation #5

tlambert03 opened this issue Mar 29, 2021 · 0 comments

Comments

@tlambert03
Copy link
Member

as pointed out by @henrypinkard in micro-manager/pycro-manager#266 (comment),

In the Channel object in MDASequence, dimension decimation (acquire every n...) should be generalized to arbitrary axes. one possible (but not ideal) pattern:

class Channel:
    ...
    decimate_axes: Dict[str, int]
    offset_axes: Dict[str, int]

# e.g
{'config': 'DAPI', 'decimate_axes': {'t': 5}}  # acquire DAPI every 5th frame
{'config': 'DAPI', 'decimate_axes': {'z': -1}}  # or something like that ... e.g. don't acquire the full stack
 {'config': 'DAPI', 'offset_axes': {'z': 0.5}}  # focal shift of 0.5 in this channel
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

No branches or pull requests

1 participant