You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now, fieldOfView is typed as FieldOfViewLike, which is equal to PositionName | FieldOfView. Either...
a) one of these types should be removed
b) ImagingContext should carry a type parameter like FOV <: PositionName | FieldOfView which would then be the type of the fieldOfView member, to disambiguate.
This has consequences for any type which uses ImagingContext, but it would make things like defining Order[ImagingContext] more reasonable; currently, this would need to be a partial function, since there's no real meaningful way to order a PositionName (text) value relative to a FieldOfView value (number).
The text was updated successfully, but these errors were encountered:
Right now,
fieldOfView
is typed asFieldOfViewLike
, which is equal toPositionName | FieldOfView
. Either...a) one of these types should be removed
b)
ImagingContext
should carry a type parameter likeFOV <: PositionName | FieldOfView
which would then be the type of thefieldOfView
member, to disambiguate.This has consequences for any type which uses
ImagingContext
, but it would make things like definingOrder[ImagingContext]
more reasonable; currently, this would need to be a partial function, since there's no real meaningful way to order aPositionName
(text) value relative to aFieldOfView
value (number).The text was updated successfully, but these errors were encountered: