Beispiel #1
0
exp_config = {
    'subarray': 'full',
    'readout_pattern': 'nisrapid',
    'ngroup': 93,
    'nint': 1,
    'nexp': 10
}
strategy = {
    'method': 'imagingapphot',
    'aperture_size': 0.1,
    'sky_annulus': [1, 3],
    'target': [0.0, 0.0],
    'background_subtraction': False
}

output = calc_limits.calc_limits(configs,
                                 apertures,
                                 idt_fluxes,
                                 obsmode=obsmode,
                                 scanfac=50,
                                 exp_config=exp_config,
                                 strategy=strategy,
                                 background='minzodi12')

np.savez('../../outputs/niriss_imaging_sensitivity.npz',
         wavelengths=output['wavelengths'],
         sns=output['sns'],
         lim_fluxes=output['lim_fluxes'],
         sat_limits=output['sat_limits'],
         configs=output['configs'])
Beispiel #2
0
    'nint': 1,
    'nexp': 10
}
strategy = {
    'method': 'imagingapphot',
    'aperture_size': 0.5,
    'sky_annulus': [0.6, 3.2],
    'target': [0.0, 0.0],
    'dithers': [{
        'x': 0.0,
        'y': 0.0
    }],
    'background_subtraction': False
}

output = calc_limits.calc_limits(configs,
                                 apertures,
                                 idt_fluxes,
                                 obsmode=obsmode,
                                 scanfac=100,
                                 skyfacs=2.,
                                 exp_config=exp_config,
                                 strategy=strategy,
                                 background='roman_minzodi')
np.savez('../../outputs/wfi_imaging_sensitivity.npz',
         wavelengths=output['wavelengths'],
         sns=output['sns'],
         lim_fluxes=output['lim_fluxes'],
         sat_limits=output['sat_limits'],
         configs=output['configs'])