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

Make decorator to support timelapse processing of napari data types #11

Closed
jo-mueller opened this issue Apr 19, 2022 · 0 comments · Fixed by #18
Closed

Make decorator to support timelapse processing of napari data types #11

jo-mueller opened this issue Apr 19, 2022 · 0 comments · Fixed by #18
Labels
enhancement New feature or request

Comments

@jo-mueller
Copy link
Member

I'm creating this issue to keep track on development of a decorator for timelapse processing of napari data types, including napari.types.PointsData and SurfaceData. This has been mentioned here, maybe this project can serve as a good incubator to bring this forward to be used on a larger scale.

The current approach is contained in PR #10 and it does:

  • check the type annotations for all input arguments
  • converts the input data from 4D to a list of 3D objects
  • executes the decorated function on all timeframes
  • puts the return value back to together depending on the decorated function's return type annotation.

The decorator lives here

Now - what would be a good way to separate, for instance, the following cases:

  • Points Data [2D + T] vs. Points Data [3D] - they would have identical array dimensions.
  • Surfaces are inherently 3D, but how could we differentiate between a 3D/4D surface in a "good" way?

Comments are welcome!
@zoccoler @haesleinhuepf tagging you here for discussion

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant