rayoptics.parax.specsheet module

module to facilitate first order definition of an optical model

create_specsheet(conjugate_type, **inputs)[source]
create_specsheets()[source]
create_specsheet_from_model(opt_model)[source]

Return a specsheet filled with the current data from opt_model.

class SpecSheet(conjugate_type, imager=None, imager_inputs=None, frozen_imager_inputs=None, etendue_inputs=None, etendue_values=None)[source]

Bases: object

First order optical specification for OpticalModel

conjugate_type

one of infinite, finite

imager

instance of IdealImager

imager_inputs

dict of inputs to ideal_imager_setup

frozen_imager_inputs

list of booleans, if True the parameter is frozen

etendue_inputs

field and aperture inputs used to define the etendue

etendue_values

dict2D of aperture/field vs object/image

partitions

‘imager’, ‘field’, and ‘aperture’; number of items in each

sync_to_restore(opt_model)[source]
imager_defined()[source]

True if the imager is completely specified.

partition_defined()[source]

which partition defines the imager or None

generate_from_inputs(imgr_inputs, etendue_inputs)[source]

compute imager and etendue values given input dicts

get_etendue_inputs(ape_fld_key)[source]

returns key, value pair for ‘aperture’|’field’ ape_fld key.

get_parax_start_data(thi_0, n_0, n_k)[source]