soxs.spatial.
AnnulusModel
(ra0, dec0, r_in, r_out, theta=0.0, ellipticity=1.0)[source]¶A model for positions of photons within an annulus shape with uniform surface brightness.
Parameters: 


soxs.spatial.
BetaModel
(ra0, dec0, r_c, beta, theta=0.0, ellipticity=1.0)[source]¶A model for positions of photons with a betamodel shape.
Parameters: 


soxs.spatial.
FillFOVModel
(ra0, dec0, fov)[source]¶A model for positions of photons which span a field of view.
Parameters: 

soxs.spatial.
PointSourceModel
(ra0, dec0)[source]¶A model for positions of photons emanating from a point source.
Parameters: 

soxs.spatial.
RadialArrayModel
(ra0, dec0, r, S_r, theta=0.0, ellipticity=1.0)[source]¶Create positions for photons using a table of radii and surface brightness contained in two arrays.
Parameters: 


soxs.spatial.
RadialFileModel
(ra0, dec0, radfile, theta=0.0, ellipticity=1.0)[source]¶A model for positions of photons using a table of radii and surface brightness contained in a file.
Parameters: 


soxs.spatial.
RadialFunctionModel
(ra0, dec0, func, theta=0.0, ellipticity=1.0)[source]¶A model for positions of photons using a generic surface brightness profile as a function of radius.
Parameters: 


soxs.spatial.
RectangleModel
(ra0, dec0, width, height, theta=0.0)[source]¶A model for positions of photons within a rectangle or line shape.
Parameters: 


soxs.spatial.
SpatialModel
(ra0, dec0)[source]¶generate_coords
(num_events, prng=None)[source]¶Generate a sample of photon positions from this spatial model.
Parameters: 

