tardis.montecarlo.montecarlo_numba.frame_transformations module

tardis.montecarlo.montecarlo_numba.frame_transformations.angle_aberration_CMF_to_LF(r_packet, time_explosion, mu)[source]

Converts angle aberration from comoving frame to laboratory frame.

tardis.montecarlo.montecarlo_numba.frame_transformations.angle_aberration_LF_to_CMF(r_packet, time_explosion, mu)[source]

c code: double beta = rpacket_get_r (packet) * storage->inverse_time_explosion * INVERSE_C; return (mu - beta) / (1.0 - beta * mu);

tardis.montecarlo.montecarlo_numba.frame_transformations.calc_packet_energy(r_packet, distance_trace, time_explosion)[source]
tardis.montecarlo.montecarlo_numba.frame_transformations.calc_packet_energy_full_relativity(r_packet)[source]
tardis.montecarlo.montecarlo_numba.frame_transformations.get_doppler_factor(r, mu, time_explosion)[source]
tardis.montecarlo.montecarlo_numba.frame_transformations.get_doppler_factor_full_relativity(mu, beta)[source]
tardis.montecarlo.montecarlo_numba.frame_transformations.get_doppler_factor_partial_relativity(mu, beta)[source]
tardis.montecarlo.montecarlo_numba.frame_transformations.get_inverse_doppler_factor(r, mu, time_explosion)[source]

Calculate doppler factor for frame transformation

Parameters
rfloat
mufloat
time_explosionfloat
tardis.montecarlo.montecarlo_numba.frame_transformations.get_inverse_doppler_factor_full_relativity(mu, beta)[source]
tardis.montecarlo.montecarlo_numba.frame_transformations.get_inverse_doppler_factor_partial_relativity(mu, beta)[source]