plate_carree_galactic_sampler¶
-
toasty.samplers.
plate_carree_galactic_sampler
(data)[source]¶ Create a sampler function for all-sky data in a “plate carrée” projection using Galactic coordinates.
- Parameters
- dataarray-like, at least 2D
The map to sample in plate carrée projection.
- Returns
- A function that samples the image. The call signature is
sampler(lon, lat) -> data
, where the inputs and output are 2D arrays and- lon and lat are in radians.