analysis.defaults module

Some of the defaults that are used in the overall program.

analysis.defaults.getInitialValuesFit(g_parameters)[source]

Return a dictionary containing the initial values to be used in the in the fitting of the parameters.

The dictionary is of the form: ‘parameter_name:initial_value’

Args: g_parameters(analysis.galfun.GParameters): An object containing different

forms of the galaxy parameters.
Returns:A dict.
analysis.defaults.getMaximums(g_parameters, gal_image)[source]

Return a dictionary containing the minimum values to be used in the in the fitting of the parameters.

The dictionary is of the form: ‘parameter_name:maximum_value’

Args: g_parameters(galfun.GParameters): An object containing different

forms of the galaxy parameters.
Returns:A dict.
analysis.defaults.getMinimums(g_parameters, gal_image)[source]

Return a dictionary containing the minimum values to be used in the in the fitting of the parameters.

The dictionary is of the form: ‘parameter_name:initial_value’

Args: g_parameters(analysis.galfun.GParameters): An object containing different

forms of the galaxy parameters.
Returns:A dict.
analysis.defaults.getSteps(g_parameters, image_renderer)[source]

Return a dictionary containing the steps to be used in the derivatives of each parameter.

The dictionary is of the form: ‘parameter_name:value_of_step’

Some parameter variations were copied from David’s code suggestions.

Args: g_parameters(analysis.galfun.GParameters): An object containing different

forms of the galaxy parameters.
Returns:A dict.