General-purpose functions

Healpix.jl implements a few generic functions that can be helpful when doing calculations on the sphere.

Healpix.lat2colatFunction
lat2colat(x)
colat2lat(x)

Convert colatitude into latitude and vice versa. Both x and the result are expressed in radians.

source
Healpix.colat2latFunction
lat2colat(x)
colat2lat(x)

Convert colatitude into latitude and vice versa. Both x and the result are expressed in radians.

source
RecipesBase.plotFunction
plot(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.

source