initialize

specsim.instrument.initialize(config, camera_output=True)[source] [edit on github]

Initialize the instrument model from configuration parameters.

This method is responsible for creating a new Instrument as well as the Cameras it includes.

Parameters:
configspecsim.config.Configuration

The configuration parameters to use.

camera_outputbool

Initialize support for resolution convolution and downsampling for each camera when True.

Returns:
Instrument

An initialized instrument model including one or more cameras.