models.masspoints.masspoint#

This is a module to handle one fractal mass in a combination. It will have the associated emission and extinction information from the KOSMA-\(\tau\) simulations, which will be used to contribute to the combination intrinsic intensity and optical depth. At the moment, the emission interpolation is performed for each individual species. It will be an future update to perform the interpolation for all species at the same time.

Functions

calculate_emission

This function can be called to set-up the clump emissions in the masspoints module.

get_taufuv

Return the far-UV optical depth for each clump in each ensemble.

masspoint_emission

This function calculates the emission of a single clump of the given mass/density/radius.

plot_intensity

Plot the emissivity or absorption for each clump in each ensemble.

reinitialise

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

set_masspoint_data

This sets the information for the masspoints used in a given voxel.