SED

class mosfit.modules.SED(**kwargs)[source]

Bases: Module

Template class for SED Modules.

Modules that inherit from the SED class should produce a seds key, which contains a spectral energy distribution for each time. The units of the SED should be in erg/s/Angstrom.

Attributes Summary

C_OVER_ANG

Methods Summary

add_to_existing_seds(new_seds, **kwargs)

Add SED from module to existing seds key.

receive_requests(**requests)

Receive requests from other Module objects.

send_request(request)

Send a request.

set_data(band_sampling_points)

Set SED data.

Attributes Documentation

C_OVER_ANG = 2.9979245799999995e+18

Methods Documentation

add_to_existing_seds(new_seds, **kwargs)[source]

Add SED from module to existing seds key.

Parameters
new_sedsarray

The new SEDs to add to the existing SEDs.

Returns
new_sedsarray

The result of summing the new and existing SEDs.

receive_requests(**requests)[source]

Receive requests from other Module objects.

send_request(request)[source]

Send a request.

set_data(band_sampling_points)[source]

Set SED data.