General-purpose functions
Healpix.jl implements a few generic functions that can be helpful when doing calculations on the sphere.
Healpix.lat2colat
— Functionlat2colat(x)
colat2lat(x)
Convert colatitude into latitude and vice versa. Both x
and the result are expressed in radians.
Healpix.colat2lat
— Functionlat2colat(x)
colat2lat(x)
Convert colatitude into latitude and vice versa. Both x
and the result are expressed in radians.
RecipesBase.plot
— Functionplot(m::HealpixMap{T, O, AA}, projection = mollweide, projparams = Dict())
Draw a representation of the map, using some specific projection. The parameter projection
must be a function returning the bitmap. Possible values for projection
are the following:
equirectangular
mollweide
orthographic
orthographic2
gnomonic
You can define your own projections.
The dictionary projparams
allows to hack a number of parameters used in the projection.
References
See also equirectangular
, mollweide
, orthographic
, orthographic2
, and gnomonic
.