Class SourceRedshiftEvolution
Defined in File Source.h
Inheritance Relationships
Base Type
public SourceFeature
(Class SourceFeature)
Class Documentation
-
class SourceRedshiftEvolution : public SourceFeature
Random redshift (time of emission) from (1+z)^m distribution.
This assigns redshifts to a given source according to a typical power-law distribution. The redshift coordinate is used to treat cosmological effects and as a time coordinate. Consider, for instance, a source located at a distance corresponding to a redshift z. In the absence of processes that cause time delays (e.g., magnetic deflections), particles from this source could arrive after a time corresponding to the source redshift. Charged particles, on the other hand, can arrive at a time later than the corresponding straight- line travel duration. This treatment is also useful for time-dependent studies (e.g. transient sources).
Public Functions
-
SourceRedshiftEvolution(double m, double zmin, double zmax)
Constructor
- Parameters:
m – index of the power law (1 + z)^m
zmin – minimum redshift
zmax – maximum redshift
-
inline virtual void prepareParticle(ParticleState &particle) const
-
std::string getDescription() const
-
inline size_t addReference() const
-
inline size_t removeReference() const
-
inline int removeReferenceNoDelete() const
-
inline size_t getReferenceCount() const
-
SourceRedshiftEvolution(double m, double zmin, double zmax)