sage.data.waveform.distributions.powerlaw
Filename : powerlaw.py Description : Short description of the file
Created on 2026-02-16 10:56:50
__author__ = Narenraju Nagarajan __copyright__ = Copyright 2026, ProjectName __license__ = MIT Licence __version__ = 0.0.1 __maintainer__ = Narenraju Nagarajan __affiliation__ = N/A __email__ = N/A __status__ = [‘inProgress’, ‘Archived’, ‘inUsage’, ‘Debugging’]
GitHub Repository: NULL
Documentation: NULL
Classes
GPU-friendly power-law sampler for 1D parameters. |
|
Uniform in volume (3D sphere) radius sampler. |
Module Contents
- class UniformPowerLaw(low, high, dim=3)[source]
GPU-friendly power-law sampler for 1D parameters.
Draws samples from the distribution whose PDF scales as
r^(dim-1)over the interval[low, high]. Fordim=3this is uniform in volume (the standard astrophysical distance prior assuming a uniform spatial number density).- Parameters:
- class UniformRadius(low=0.0, high=1.0)[source]
Bases:
UniformPowerLawUniform in volume (3D sphere) radius sampler.