snifs

SNIFS optical configuration and utilities.

spectrogrism.snifs.plot_SNIFS(optcfg=OptConfig([('name', 'SNIFS-R'), ('wave_ref', 7.6e-07), ('wave_range', [5e-07, 1.02e-06]), ('telescope_flength', 22.5), ('collimator_flength', 0.169549), ('collimator_distortion', 2.141), ('collimator_lcolor_coeffs', [-4.39879e-06, 8.91241e-10, -1.82941e-13]), ('grism_prism_material', 'BK7'), ('grism_prism_angle', 0.30159289474462014), ('grism_grating_rho', 200.0), ('grism_dispersion', 2.86), ('grism_grating_material', 'EPR'), ('grism_grating_blaze', 0.2617993877991494), ('camera_flength', 0.228014), ('camera_distortion', -0.276), ('camera_lcolor_coeffs', [2.66486e-06, -5.52303e-10, 1.1365e-13]), ('detector_pxsize', 1.5e-05), ('detector_angle', 0.0)]), simcfg=SimConfig([('name', u'standard'), ('wave_npx', 10), ('modes', (1, 0, 2, -1)), ('input_coords', array([-0.01 , -0.005, 0. , 0.005, 0.01 ])), ('input_angle', -0.17453292519943295)]), test=True, verbose=False)

Test-case w/ SNIFS-like configuration.