popsynth.aux_samplers.sky_sampler module
- class popsynth.aux_samplers.sky_sampler.SkySampler(ra_sampler: Optional[NonObservedAuxSampler] = None, dec_sampler: Optional[NonObservedAuxSampler] = None)[source]
Bases:
object
- __init__(ra_sampler: Optional[NonObservedAuxSampler] = None, dec_sampler: Optional[NonObservedAuxSampler] = None)[source]
A sky sampler that samples angular positions in ra and dec. If no samplers are provided, then loads default samplers that sample uniformly on the unit sphere. RA and dec are in radians.
- Parameters
ra_sampler (
NonObservedAuxSampler
) – Right ascension (RA) samplerdec_sampler (
NonObservedAuxSampler
) – Declination (Dec) sampler
- property ra_sampler
- property dec_sampler
- class popsynth.aux_samplers.sky_sampler.RASampler[source]
Bases:
NonObservedAuxSampler