Utils module¶
Utils module contains core functions that are used by the processing classes of ORCS
-
orcs.utils.
fit_velocity_error_model
(x, y, vel, vel_err, nm_laser, calibration_laser_map, pixel_size, binning=6)¶ Fit a model of the spectral calibration error based on a simplified optical model of the interferometer.
- Parameters
x – Positions of the velocities along x axis
y – Positions of the velocities along y axis
vel – Measured velocity errors at (x, y)
vel_err – Uncertainty on the measured velocity errors.
nm_laser – Calibration laser wavelength in nm
calibration_laser_map – Calibration laser map
pixel_size – Pixel size in um
- param binning: (Optional) Binning during computation (process is faster with
marginal precision loss) (default 6)
-
orcs.utils.
get_timestamp
()¶ Return a formatted timestamp.