Calibration And Observation In IMaX

22
IMaX: Calibrations and Observations The software's point of view

Transcript of Calibration And Observation In IMaX

Page 1: Calibration And Observation In IMaX

IMaX: Calibrations and Observations

The software's point of view

Page 2: Calibration And Observation In IMaX

Calibrations and Observations

● Exposure Time● Focus● Wavelenghts● Phase diversity● Flat field● Dark current

● Standard Observing Modes (OM)

– VS, VM– LS, LM– DM

● New OM– V3, V5, V6, V7,

V12– L3, L5, L6, L7,

L12

Page 3: Calibration And Observation In IMaX

Calibrating: Exposure Time

● It acquires six images with increasing exposure time.

● It calculates the average for every image (centered square 500x500) and ignores the ones with an average over 85% of the max value for a pixel.

● It adjusts a line with the rest of the points and takes the value corresponding to 2500 counts.

Page 4: Calibration And Observation In IMaX

Calibrating: Exposure Time● Use of “CalibrateExposureTime” DECO.● This DECO takes six different times (in

milliseconds) as parameters.● It sets the Etalon voltage to the 5th of the VS OM.● It needs the dark current image.● It calibrates both cameras.● It updates CF (HD & Mem).

ImageAcquisition.Camera_1_ExposureTime & ImageAcquisition.Camera_2_ExposureTime

Page 5: Calibration And Observation In IMaX

Calibrating: Focus

● It takes a single image and calculates RMS for a centered square (500x500).

● RMS:

RMS= standard deviationaverage

Page 6: Calibration And Observation In IMaX

Calibrating: Focus

● Use of TC “CalculateContrast”. Long duration & low priority.

● Process coordinated by the ICU.● It just uses camera 1.● It needs dark current and flat field image.● It sets the Etalon voltage to the 5th of the VS

OM.● It sends a HK with the calculated contrast.

Page 7: Calibration And Observation In IMaX

Calibrating: Wavelengths

● It takes images with increasing wavelength values.

● It calculates an average for every image in a centered square(50x50). It takes the minimum average and two from every side. It adjusts a parabola for these five points. The minimum of the parabola allows us to obtain the offset of the line ('a').

λ=a+bV● This way we can obtain the new voltages for

the Observing Modes.

Page 8: Calibration And Observation In IMaX

Calibrating: Wavelengths

● Use of CalibrateWavelengths DECO.● It takes v0, v1 and vdelta as parameters.● It needs flat field and dark current images.● It just uses camera 1.● It calculates the new 'a' coefficient and writes

it to the CF (HD & Mem).● It recalculates the new CF voltages to all the

OM with the new 'a' coefficient and writes it to the CF (HD & Mem).

Page 9: Calibration And Observation In IMaX

Calibrating: File names

● The images used for calibration are stored in the ICU DSS.

● cal_exp_cam_x_n_y.raw, where x is the camera and y is the exposure time argument number.

● cal_focus_cam_1_n_x.raw, where x is an increasing counter of the focus calibration carried out.

● cal_lambda_v_x.raw, where x is the voltage in counts.

Page 10: Calibration And Observation In IMaX

Calibrating: Phase Diversity

● It sets the Etalon voltage to the 5th of the VS OM.● It sets ROCLIs to p1 of the VS OM.● Accumulation?● Truncation bits: 0● No demodulation● It sets the PD at the beginning and unset at the

end.

Page 11: Calibration And Observation In IMaX

Calibrating: Dark current & flat field

● Provided by the scientist team as raw images during AIV in Esrange.

Page 12: Calibration And Observation In IMaX

Former Observing Modes

● The former observing modes takes the the following parameters from the CF.

● Grouped by OM (VS, VM, LS, LM & DM):– Iddle time– Discarded frames– Accumulations– Truncation bits– Demodulate– Etalon voltages– ROCLI voltages

Page 13: Calibration And Observation In IMaX

Former Observing Modes

● Grouped by tuning mode (FPTM, ITM, DMM) and Camera

– Demodulation matrix● All of them have only one:

– Camera 1 exposure time– Camera 2 exposure time– Max observing time– Max number of cycles– Max time to enter science mode– Lambda to voltage function coefficients

Page 14: Calibration And Observation In IMaX

New Observing Modes● All of them use the Configurable mode for (including

V3, V5, L3 and L5):– Iddle time– Discarded frames– Accumulations– Truncation bits– Demodulate– Etalon voltages– ROCLI voltages

Page 15: Calibration And Observation In IMaX

New Observing Modes

● V3, V5, V6, V7and V12 use FPTM demodulation matrix

● L3, L5, L6, L7 and L12 use ITM demodulation matrix

● All of them have only one (same as former):– Camera 1 and camera 2 exposure time– Max observing time– Max number of cycles– Max time to enter science mode– Lambda to voltage function coefficients

Page 16: Calibration And Observation In IMaX

New Observing Modes

● Due to timing restrictions, all of them use FPTM tuning mode.

● Wavelengths are fixed and translated to voltages at the beginning of the execution with the 'a' and 'b' coefficients from the CF.

● For the V# OM, the ROCLI retardances(number of retardances and values) and truncation bits are copied from the Vector Spectropolarimeter OM values. The demodulation matrix applied are the ones for the FPTM.

Page 17: Calibration And Observation In IMaX
Page 18: Calibration And Observation In IMaX

New Observing Modes

● For the L# OM, the ROCLI retardances(number of retardances and values) and truncation bits are copied from the Longitudinal Spectropolarimeter OM values. The demodulation matrix applied are the ones for the ITM.

Page 19: Calibration And Observation In IMaX

New Observing Modes: Simulating ITM with FPTM

● Because L3, L5, L6, L7 and L12 are carried out with a FPTM, some tricks have to be applied:

– Because FPTM needs 4 polarizations for the ROCLIs, the 2 polarizations are performed twice.

– The 4x4 demodulation matrix is built from the 2x2:

a bc d ⇒a b 0 0

c d 0 00 0 a b0 0 c d

Page 20: Calibration And Observation In IMaX

Observing DECOs

● SetObservingMode(dswMode, camera, ccdTimeExposure, iddleTime, accumulations, truncation, demodulation, wavelengthsNo, RocliNo, wavelengths[5], retardancesR1[4], retardancesR2[4], discards[5], cycles, time)

● StartVectorSpectropolarimeterOM(cycles, time), same for StartVectorMagnetographOM, StartLongitudinalSpectropolarimeterOM, StartLongitudinalMagnetographOM and StartDeepMagnetographOM.

Page 21: Calibration And Observation In IMaX

Observing DECOs

● StartConfigurableOM(cycles, time, tuningMode)

● StartV3ObservingMode(accumulations, cycles, time, demodulation), same for StartV5ObservingMode, StartV6ObservingMode, StartV7ObservingMode, StartV12ObservingMode, StartL3ObservingMode StartL5ObservingMode, StartL6ObservingMode, StartL7ObservingMode and StartL12ObservingMode.

Page 22: Calibration And Observation In IMaX

Observing DECOs● ChangeCF_LambdaToVoltageCoefficient_A(a,

writeToCFHD)● ChangeCF_LambdaToVoltageCoefficient_B(a,

writeToCFHD)