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(r, mu, time_explosion, enable_full_relativity)[source]¶
- tardis.transport.frame_transformations.get_inverse_doppler_factor(r, mu, time_explosion, enable_full_relativity)[source]¶
Calculate doppler factor for frame transformation
- Parameters:
- rfloat
- mufloat
- time_explosionfloat