healpix_geometry_analysis.problems.numpyro_sampler
Classes
Description of the problem for numpyro sampler |
Module Contents
- class NumpyroSamplerProblem[source]
Bases:
healpix_geometry_analysis.problems.base.BaseProblemDescription of the problem for numpyro sampler
- Parameters:
geometry (TileGeometry) – Tile geometry object
track_arc_length (bool, optional) – Track arc distance in degrees, by default False
- side1()[source]
Get k & k’ numpyro samples for the first side of the tile
It is NE for “p” direction and NW for “m” direction
- side2()[source]
Get k & k’ numpyro samples for the second side of the tile
It is SW for “p” direction and SE for “m” direction
- model()[source]
Numpyro model to maximize
It would maximize the distance between the two sides of the tile. Samples are k1 & k2 or kp1 & kp2 depending on the direction. Numpyro’s factor is -distance to minimize it. Numpyro’s deterministic is used to track distance: - “distance” is for distance measure in use (see .geometry.distance) - “arc_length_degree” is for arc distance in degrees,
if track_arc_length is True