-
Notifications
You must be signed in to change notification settings - Fork 16
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
Change ophys.ImagingPlane
fields excitation_lambda
and imaging_rate
from str
to float
#136
Comments
excitation_lambda
field of ophys.ImagingPlane
from float
to str
excitation_lambda
field of ophys.ImagingPlane
from str
to float
excitation_lambda
field of ophys.ImagingPlane
from str
to float
ophys.ImagingPlane
fields excitation_lambda
and imaging_rate
from str
to float
This got carried over from 1.x, but I agree, a float or a double would make more sense. |
Also in all other classes, the sampling rate parameter is referred to as "rate". So I'd suggest changing the parameter's name ("imaging_rate" -> "rate") and the data type (str -> float). |
Alternatively, ImagingPlane's sampling rate parameter is redundant and can be removed altogether since all Series data tied to an ImagingPlane have to have their own rate/timestamps specified. |
This is fixed in NeurodataWithoutBorders/pynwb#612 |
nwb-schema/core/nwb.ophys.yaml
Line 197 in a004202
Is there a reason why these are stored as strings? It seems more sensible to store them as floats.
The text was updated successfully, but these errors were encountered: