tardis.transport.frame_transformations module
- tardis.transport.frame_transformations.angle_aberration_CMF_to_LF(r_packet, time_explosion, mu)[source]
Converts angle aberration from comoving frame to laboratory frame.
- tardis.transport.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.transport.frame_transformations.calc_packet_energy(r_packet, distance_trace, time_explosion)[source]
- tardis.transport.frame_transformations.get_doppler_factor(velocity, mu, enable_full_relativity)[source]
Calculate the Doppler factor for frame transformation.
- Parameters:
- velocityfloat
Local packet-frame velocity [cm / s].
- mufloat
Directional cosine.
- enable_full_relativitybool
Whether to use the full relativistic expression.
- tardis.transport.frame_transformations.get_inverse_doppler_factor(velocity, mu, enable_full_relativity)[source]
Calculate inverse Doppler factor for frame transformation.
- Parameters:
- velocityfloat
Local packet-frame velocity [cm / s].
- mufloat
Directional cosine.
- enable_full_relativitybool
Whether to use the full relativistic expression.