Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Calibration files selection #26

Open
zonca opened this issue Jun 10, 2020 · 1 comment
Open

Calibration files selection #26

zonca opened this issue Jun 10, 2020 · 1 comment

Comments

@zonca
Copy link
Member

zonca commented Jun 10, 2020

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
Copy link
Member Author

zonca commented Jun 10, 2020

Selection rules that apply both for flat and dark

Also have the FITS keyword.

  • same detector ID DETNAME
  • same filter FILTER
  • observation ID OBS_ID TOCHECK
  • detector gain GAIN
  • RNOISE Read Noise
  • ramp time RAMPTIME the 3 times here do they need to be an exact match? or there is some tolerance?
  • exposure time EXPTIME
  • pixel time PXLTIME
  • SAMPMODE 1:SIngle 2:CDS 3:MCDS 4: UTR
  • RAMPS Number of Ramps
  • READS Number of Reads
  • most recent DATE-OBS

Subarrays

All needed:

  • SARRMODE
  • XSIZE
  • YSIZE
  • XSTART
  • YSTART

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant