@@ -88,16 +88,16 @@ def mock_LineScanning(
8888 name : Optional [str ] = None ,
8989 description : str = "A mock instance of a LineScanning type to be used for rapid testing." ,
9090 scan_direction : Optional [str ] = "horizontal" ,
91- line_rate : Optional [float ] = 500 .0 ,
92- dwell_time : Optional [float ] = 0.001 ,
91+ line_rate_in_Hz : Optional [float ] = 1000 .0 ,
92+ dwell_time_in_s : Optional [float ] = 1.0e-6 ,
9393) -> ndx_microscopy .LineScanning :
9494 """Line scanning method used in microscopy, particularly common in two-photon imaging."""
9595 line_scanning = ndx_microscopy .LineScanning (
9696 name = name or name_generator ("LineScanning" ),
9797 description = description ,
9898 scan_direction = scan_direction ,
99- line_rate = line_rate ,
100- dwell_time = dwell_time ,
99+ line_rate_in_Hz = line_rate_in_Hz ,
100+ dwell_time_in_s = dwell_time_in_s ,
101101 )
102102 return line_scanning
103103
@@ -107,14 +107,14 @@ def mock_RasterScanning(
107107 name : Optional [str ] = None ,
108108 description : str = "A mock instance of a RasterScanning type to be used for rapid testing." ,
109109 scan_pattern : Optional [str ] = "bidirectional" ,
110- dwell_time : Optional [float ] = 0.0005 ,
110+ dwell_time_in_s : Optional [float ] = 1.0e-6 ,
111111) -> ndx_microscopy .RasterScanning :
112112 """Raster scanning method with grid-like point-by-point or line-by-line acquisition."""
113113 raster_scanning = ndx_microscopy .RasterScanning (
114114 name = name or name_generator ("RasterScanning" ),
115115 description = description ,
116116 scan_pattern = scan_pattern ,
117- dwell_time = dwell_time ,
117+ dwell_time_in_s = dwell_time_in_s ,
118118 )
119119 return raster_scanning
120120
@@ -123,14 +123,14 @@ def mock_ResonantScanning(
123123 * ,
124124 name : Optional [str ] = None ,
125125 description : str = "A mock instance of a ResonantScanning type to be used for rapid testing." ,
126- resonant_frequency : Optional [float ] = 8000.0 ,
126+ resonant_frequency_in_Hz : Optional [float ] = 8000.0 ,
127127 resonant_amplitude : Optional [float ] = 1.5 ,
128128) -> ndx_microscopy .ResonantScanning :
129129 """Resonant scanning method using a rapidly oscillating mirror for high-speed imaging."""
130130 resonant_scanning = ndx_microscopy .ResonantScanning (
131131 name = name or name_generator ("ResonantScanning" ),
132132 description = description ,
133- resonant_frequency = resonant_frequency ,
133+ resonant_frequency_in_Hz = resonant_frequency_in_Hz ,
134134 resonant_amplitude = resonant_amplitude ,
135135 )
136136 return resonant_scanning
@@ -142,15 +142,15 @@ def mock_TemporalFocusing(
142142 description : str = "A mock instance of a TemporalFocusing type to be used for rapid testing." ,
143143 lateral_point_spread_function_in_um : str = "0.5 ± 0.1" ,
144144 axial_point_spread_function_in_um : str = "2.0 ± 0.3" ,
145- pulse_duration : Optional [float ] = 0.0000001 , # 100 nanoseconds
145+ pulse_duration_in_s : Optional [float ] = 0.0000001 , # 100 nanoseconds
146146) -> ndx_microscopy .TemporalFocusing :
147147 """Temporal focusing scanning method for depth-resolved imaging."""
148148 temporal_focusing = ndx_microscopy .TemporalFocusing (
149149 name = name or name_generator ("TemporalFocusing" ),
150150 description = description ,
151151 lateral_point_spread_function_in_um = lateral_point_spread_function_in_um ,
152152 axial_point_spread_function_in_um = axial_point_spread_function_in_um ,
153- pulse_duration = pulse_duration ,
153+ pulse_duration_in_s = pulse_duration_in_s ,
154154 )
155155 return temporal_focusing
156156
@@ -160,14 +160,14 @@ def mock_LightSheet(
160160 name : Optional [str ] = None ,
161161 description : str = "A mock instance of a LightSheet type to be used for rapid testing." ,
162162 sheet_thickness_in_um : Optional [float ] = 5.0 ,
163- illumination_angle : Optional [float ] = 45.0 ,
163+ illumination_angle_in_degrees : Optional [float ] = 45.0 ,
164164) -> ndx_microscopy .LightSheet :
165165 """Light sheet method."""
166166 light_sheet = ndx_microscopy .LightSheet (
167167 name = name or name_generator ("LightSheet" ),
168168 description = description ,
169169 sheet_thickness_in_um = sheet_thickness_in_um ,
170- illumination_angle = illumination_angle ,
170+ illumination_angle_in_degrees = illumination_angle_in_degrees ,
171171 )
172172 return light_sheet
173173
@@ -177,15 +177,15 @@ def mock_RandomAccessScanning(
177177 name : Optional [str ] = None ,
178178 description : str = "A mock instance of a RandomAccessScanning type to be used for rapid testing." ,
179179 max_scan_points : Optional [int ] = 1000 ,
180- dwell_time : Optional [float ] = 0.0001 ,
180+ dwell_time_in_s : Optional [float ] = 1.0e-6 ,
181181 scanning_pattern : Optional [str ] = "spiral" ,
182182) -> ndx_microscopy .RandomAccessScanning :
183183 """Random access scanning method for targeted, high-speed imaging of specific regions."""
184184 random_access_scanning = ndx_microscopy .RandomAccessScanning (
185185 name = name or name_generator ("RandomAccessScanning" ),
186186 description = description ,
187187 max_scan_points = max_scan_points ,
188- dwell_time = dwell_time ,
188+ dwell_time_in_s = dwell_time_in_s ,
189189 scanning_pattern = scanning_pattern ,
190190 )
191191 return random_access_scanning
0 commit comments