models.combinations.combination#

This is a module to handle a combination of fractal masses in an ensemble. It will have its associated probability, which will scale its intrinsic intensity and optical depth. It returns a tuple of the combination’s probability, intensity, optical depth, and far-UV field.

Functions

calculate_emission

This retrieves the emission from the masspoints, with dimensions (masspoints,species,velocity,velocity).

get_fuv_extinction

The input is the density in the voxel.

initialise

This function assigns the combination data from models.ensemble to variables in this subpackage.

reinitialise

Reinitialise all temporary variables to the correct number of clump sets.

set_clump_combination