MCPcopy Create free account
hub / github.com/LabPy/lantz / set_exposure_time

Method set_exposure_time

lantz/drivers/andor/ccd.py:1145–1156  ·  view source on GitHub ↗

This function will set the exposure time to the nearest valid value not less than the given value, in seconds. The actual exposure time used is obtained by GetAcquisitionTimings. Please refer to SECTION 5 – ACQUISITION MODES for further information.

(self, time)

Source from the content-addressed store, hash-verified

1143
1144 @Action()
1145 def set_exposure_time(self, time):
1146 """This function will set the exposure time to the nearest valid value
1147 not less than the given value, in seconds. The actual exposure time
1148 used is obtained by GetAcquisitionTimings. Please refer to
1149 SECTION 5 – ACQUISITION MODES for further information.
1150 """
1151 try:
1152 time.magnitude
1153 except AttributeError:
1154 time = time * seg
1155
1156 self.lib.SetExposureTime(ct.c_float(time.magnitude))
1157
1158 @Action()
1159 def set_accum_time(self, time):

Callers 1

ccd.pyFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected