PHAMIS: Planck Hires and Minimap Image Service

The Planck Hires and Minimap Image Service (PHAMIS) is accessed via specially crafted URL’s or uploaded queries. The query parameters are set using key-value pairs. Values are all expressed in JSON5 format. JSON5 is a strict superset of JSON that contains some nice features for this kind of syntax. For example, to specify the position of the image, add
POS=[ra,dec]
to the end of the URL. To specify a series of time ranges, add
TIME=[[begin1,end1],[begin2,end2]] 
to the end of the URL. Strings may be single or double quoted, so you can set
CFRAME=’GAL’
or
CFRAME=”GAL”
If you wish to use JSON5 (or JSON) directly, use JSON_QUERY, as in
JSON_QUERY=”{POS:[10,10],CFRAME=’GAL’,SIZE=1,TIME=[[1,2],[4,5]]}”
If JSON_QUERY is set, no other parameters are allowed.

Variables

Keywords are all case insensitive.
POS An array with two numbers containing the coordinates in degrees of the center of the desired image. The coordinate system is determined by CFRAME.
CFRAME A string containing the coordinate system for POS and for orienting the output image. Valid values are ’ICRS’, ’J2000’, and ’GAL’. The default is ’ICRS’.
ROTANG The rotation angle of the image in degrees relative to CFRAME.
SIZE Size of the image in degrees. If SIZE is a single number, then the image will be square. If it is an array, then both width and height must be specified.
CDELT A number denoting the spatial resolution of the image in degrees. This sets the size of the pixels. Note the the actual size of the pixels may be slightly smaller if width/spatres or height/spatres is not an integer. The default 2 arcmin for LFI and 1 arcmin for HFI.
FREQ An integer denoting the frequency of the detector in MHz. The valid frequencies are 30000, 44000, 70000, 100000, 143000, 217000, 343000, 545000, and 857000 MHz.
DETECTORS An array of strings listing which detectors to use when generating the image. The default is to use all detectors for a given frequency.
ITERATIONS An integer denoting the number of Hires iterations to use when creating images. If ITERATIONS=0, then the Minimap algorithm is used to generate an image. The default is to use Minimap.
TIME An array of arrays of number pairs indicating which time ranges to include when searching the TOI’s. The default is to use the entire mission.
SSO An integer, either 0, 1, or 2, indicating which SSO (Solar System Object) flag to match. Matching 0 means that no observation of SSO’s will be included, 1 means that only SSO observations will be included, and 2 includes both SSO and non-SSO flags. The default is 2.
USER_METADATA An object with key-value pairs that will be added to the metadata of the output files.

Examples