-
Notifications
You must be signed in to change notification settings - Fork 4
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 timelapse decorator for points and surfaces #18
Add timelapse decorator for points and surfaces #18
Conversation
Imported fit functions from _utils submodule
Made converter class public refactored converter class
@haesleinhuepf @zoccoler @Cryaaa any feedback is much appreciated! |
The time_slicer turns all images to 4D images so that three scale parameters are always right.
…ns-to-napari-hook-implementation Expose timelapse decorated functions to napari hook implementation
We're iterating over frames here :)
Co-authored-by: Robert Haase <haesleinhuepf@users.noreply.github.com>
bumped version
removed __main__
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.
Hi Johannes @jo-mueller ,
just minor things. Mostly comments about internal functions, so feel free to ignore my suggestions. I just wrote down what I thought while reading the code. If I misunderstood something, also comment could help. Feel free to merge this anyway.
Best,
Robert
…ps://github.com/BiAPoL/napari-stress into add-timelapse-decorator-for-points-and-surfaces
Co-authored-by: Robert Haase <haesleinhuepf@users.noreply.github.com>
Co-authored-by: Robert Haase <haesleinhuepf@users.noreply.github.com>
…ps://github.com/BiAPoL/napari-stress into add-timelapse-decorator-for-points-and-surfaces
This PR is a more concise version of #10 . It adds some functionality specifically to process Points and Surfaces in 4D.
Features:
TimeLapseConverter
class (napari_stress.TimeLapseConverter()
) allows to convert data between a list format (which is handy for processing) and a single data object (which can be handled by Napari)frame_by_frame
(napari_stress.frame_by_frame
) decorator can be applied to functions that apply one or multiple arguments of napari layer types, currently supported arePointsData
,SurfaceData
,LabelsData
,LayerDataTuple
.Fixes #11