initialize

specsim.atmosphere.initialize(config)[source] [edit on github]

Initialize the atmosphere model from configuration parameters.

After an atmosphere model has been initialized, further changes to the input configuration will no effect unless this method is called to initialize a new model. However, certain model attributes can be varied after a model is initialized. See Atmosphere and Moon for details.

Parameters:
configspecsim.config.Configuration

The configuration parameters to use.

Returns:
Atmosphere

An initialized atmosphere model, possibly containing a scattered moonlight model.