pyRTX.classes.Radiation

Classes

Albedo(spacecraft, lookup, Planet[, ...])

Emissivity(spacecraft, lookup, Planet[, ...])

class pyRTX.classes.Radiation.Albedo(spacecraft, lookup, Planet, precomputation=None, baseflux=1361.5)[source]
__init__(spacecraft, lookup, Planet, precomputation=None, baseflux=1361.5)[source]
Parameters:
run(epoch)[source]

Compute the fundamental quantities for the albedo force computation :param epoch: the epoch at which to compute the albedo (it can be either a string or a float) :type epoch: str or float

Returns:

  • normalized_fluxes (np.ndarray) – (i.e. for each face that is responsible for albedo contribution cos(alpha)*cos(theta)*dA/pi/r**2

  • dirs (np.ndarray) – direction of each ray relative to the SC frame

  • vals (np.array) – values of the albedo for each face of the planet

compute(epochs, n_cores=None)[source]

Method to perform the computations for albedo acceleration.

class pyRTX.classes.Radiation.Emissivity(spacecraft, lookup, Planet, precomputation=None, baseflux=1361.5)[source]
__init__(spacecraft, lookup, Planet, precomputation=None, baseflux=1361.5)[source]
Parameters:
run(epoch)[source]

Compute the fundamental quantities for the emissivity force computation returns 1) normalized fluxes (i.e. for each face that is responsible for albedo contribution cos(theta)*dA/pi/r**2 2) direction of each ray relative to the SC frame

compute(epochs, n_cores=None)[source]

Method to perform the computations for albedo acceleration.