oirlab / liger_iris_pipeline

Data Reduction System (DRS) for the Thirty Meter Telescope IRIS imager/spectrograph
https://oirlab.github.io/iris-pipeline
0 stars 3 forks source link

Calibration files selection #26

Open zonca opened 4 years ago

zonca commented 4 years ago

For now we only have dark and flats, only for the imagers. @ikashell

Reference

Below is the configuration file for simulations prepared by @arunsurya77 and @nils-erik

{
    "sim_name": "Galactic Center_Simulations",
    "sim_date": "02/12/2030",
    "sim_author": "John. Doe",
    "sim_mode": "Imager",
    "observation": [
        {
            "Object": "Galactic Center",
            "instrument_mode": "imager",    
            "Pointing":{
                "RA": "17 45 40.04",
                "DEC": "-29 00 28.1"
            },
            "exposures": [
                {
                    "exp_type":"sci",
                    "exp_start_UT":"120000",
                    "exp_time": 10000,
                    "instrument_config":{
                        "filter":"K",              
                        "detector_config":{
                            "gain":1,                    
                            "ramp_time":10,
                            "sampling":"UTR",
                            "sub_array":true,
                            "sub_array_list":"sub_array_info.csv"
                        }
                    },    
                    "telescope_config":{                                            
                        "dither_offset":{
                            "RA_offset":"0",
                            "DEC_offset":"0"
                        },
                        "seeing":25    
                    }                                
                },
                {
                    "exp_type":"sky",
                    "time": 10000,
                    "instrument_config":{
                        "filter":"K",              
                        "detector_config":{     
                            "gain":1,                                             
                            "ramp_time":10,
                            "sampling":"UTR",
                            "sub_array":true,
                            "sub_array_list":"sub_array_info.csv"
                        }
                    },    
                    "telescope_config":{                                            
                        "dither_offset":{
                            "RA_offset":"20",
                            "DEC_offset":"20"
                        }
                    }    
                },
                {
                    "exp_type":"cal_dark",
                    "time": 10000,
                    "instrument_config":{
                        "filter":"K",              
                        "detector_config":{ 
                            "gain":1,                                                 
                            "ramp_time":10,
                            "sampling":"UTR",
                            "sub_array":true,
                            "sub_array_list":"sub_array_info.csv"
                        }
                    }                 
                },
                {
                    "exp_type":"cal_flat",
                    "time": 10,
                    "instrument_config":{
                        "filter":"K",              
                        "detector_config":{   
                            "gain":1,                                               
                            "ramp_time":10,
                            "sampling":"UTR",
                            "sub_array":true,
                            "sub_array_list":"sub_array_info.csv"
                        }
                    } 

                }
            ]
        }
    ],

    "sim_config": {
        "input_scene":{

            "input_type": "2D_scene_file",
            "input_file_type": "csv",
            "input_file": "galactic_center_starlist.csv",
            "input_unit":"AB_mag"
        },                    
        "output_dir": "/data/iris_sim/",
        "products": {
            "ext_sci_files":true,
            "raw_det_files":true,
            "raw_readouts":true,
            "true_obj_files":true
        },
        "noise_config":{
            "dark_noise":{
                "status":"true",
                "value": 0.002
            },
            "readout_noise":{
                "status":"true",
                "value": 15
            },                                
            "background":{
                "status":"true",
                "mode": "basic",
                "value": 20,
                "unit": "AB"
            }    
        }    
    }    
}
zonca commented 4 years ago

Selection rules that apply both for flat and dark

Also have the FITS keyword.

Subarrays

All needed: