scopesim.effects.surface_list_OLD module

class scopesim.effects.surface_list_OLD.SurfaceList(**kwargs)[source]

Bases: Effect

A Effect object containing a list of all surfaces in an optical element

This calls is essentially a wrapper for the RadiometryTable class, which contains all the functionality for creating and combining multiple optical surfaces

Parameters:
filenamestr

Path to file containing

tableastropy.Table
array_dictdict
add_surface(surface, name, position=-1, add_to_table=True)[source]
add_surface_list(surface_list, prepend=False)[source]
apply_to(obj, **kwargs)[source]

obj == SourceBase - applies throughput obj == ImagePlaneBase - applies emission if Imager obj == FieldOfViewBase - applies emission if Spectrograph

property area
collapse(waveset)[source]
property emission
fov_grid(which='waveset', **kwargs)[source]

Returns the edges needed to generate FieldOfViews for an observation

Parameters:
whichstr

[“waveset”, “edges”, “shifts”] where: * waveset - wavelength bin extremes * edges - on sky coordinate edges for each FOV box * shifts - wavelength dependent FOV position offsets

Returns:
wavesetlist

[um] N+1 wavelengths that set edges of N spectral bins

edgeslist of lists

[arcsec] Contains a list of footprint lists

shiftslist of 3 lists

[wave, dx, dy] Contains lists corresponding to the (dx, dy) offset from the optical axis (0, 0) induced for each wavelength in (wave) [um, arcsec, arcsec]

get_emission(**kwargs)[source]
get_throughput(**kwargs)[source]
property is_empty
property throughput