@@ -127,17 +127,17 @@ class Stack(AindModel):
127127 targeted_structure : Optional [str ] = Field (None , title = "Targeted structure" )
128128
129129
130- class SlapType (Enum ):
130+ class SlapSessionType (Enum ):
131131 """Type of slap session"""
132132
133133 PARENT = "Parent"
134134 BRANCH = "Branch"
135135
136136
137- class Slap (FieldOfView ):
137+ class SlapFieldOfView (FieldOfView ):
138138 """Description of a Slap2 scan"""
139139
140- session_type : SlapType = Field (..., title = "Session type" )
140+ session_type : SlapSessionType = Field (..., title = "Session type" )
141141 dmd_dilation_x : int = Field (..., title = "DMD Dilation X (pixels)" )
142142 dmd_dilation_y : int = Field (..., title = "DMD Dilation Y (pixels)" )
143143 dilation_unit : SizeUnit = Field (SizeUnit .PX , title = "Dilation unit" )
@@ -257,7 +257,7 @@ class Stream(AindModel):
257257 detectors : Optional [List [Detector ]] = Field (None , title = "Detectors" , unique_items = True )
258258 fiber_photometry_assemblies : Optional [List [FiberPhotometryAssembly ]] = Field (None , title = "Fiber photometry devices" )
259259 ophys_fovs : Optional [List [FieldOfView ]] = Field (None , title = "Fields of view" , unique_items = True )
260- slap_fovs : Optional [Slap ] = Field (None , title = "Slap2 field of view" )
260+ slap_fovs : Optional [SlapFieldOfView ] = Field (None , title = "Slap2 field of view" )
261261 stack_parameters : Optional [Stack ] = Field (None , title = "Stack parameters" )
262262 stimulus_device_names : Optional [List [str ]] = Field (None , title = "Stimulus devices" )
263263 notes : Optional [str ] = Field (None , title = "Notes" )
0 commit comments