MHDR(1)
β¨ MHDR(1) β¨
okay bestie, welcome to the Montage corner of the universe β this is the page for mHdr π
NAME
mHdr β connect to the IRSA service to create a header template π
SYNOPSIS
mHdr [-s system] [-e equinox] [-h height] [-p pixsize] [-r rotation] [-t
2mass-band] object|location width outfile
DESCRIPTION
So like, mHdr reaches out and connects to the IRSA service called HdrTemplate, and it builds you a header template based on a location, a size, a resolution and a rotation. That's it, that's the whole vibe. π
OPTIONS
-s systemβ pick your coordinate system, queen. it can be one of:"equatorial"or"eq"(this one's the default, no cap)"ecliptic"or"ec""galactic"or"ga""supergalactic"or"sgal"
-e equinoxβ sets the equinox. default is2000.0β-h heightβ the height (that's the y-axis, iykyk) of the area, in degrees. default is literally just equal to the width π¦-p pixsizeβ the size of a pixel, measured in arcsec. default is1π-r rotationβ rotation of the image. default is0π-t 2mass-bandβ if your data is 2MASS, the correctMAGZPgets added to the header. cute, right? β¨
ARGUMENTS
object|locationβ an object string or a coordinate location. put it in quotes if there are any spaces or special characters in there, bestie, or it's gonna get messy πwidthβ the width (that's the x-axis) of the areaoutfileβ the path to your output header template π
RESULT
[struct stat="OK", count=header-lines]
MESSAGES
OKβ[struct stat="OK", count=header-lines]πERRORβ Can't open output file outfileERRORβ location parameter requiredERRORβ width parameter requiredERRORβ Invalid object/coordinatesERRORβ Couldn't find host irsa.ipac.caltech.eduERRORβ Couldn't create socketERRORβ irsa.ipac.caltech.edu: connect failed
EXAMPLES
say a user wants to create a mosaic centered on m31, 1 degree on each side. first step? create the header template that describes the mosaic you want. periodt. π
mHdr "10.68469 +41.26904" 1 m31.hdr
[struct stat="OK", count=16]
and now m31.hdr can be used by other Montage modules to generate a mosaic. slay π
BUGS
the drizzle algorithm has been implemented but has not been tested in this release. yeah. we know. π
if a header template contains carriage returns (like, if it was created/modified on a Windows machine), the cfitsio library will be unable to read it properly, and you'll get the error: [struct stat="ERROR", status=207, msg="illegal character in keyword"] π
for the background correction algorithms, it's best if the area described in the header template completely encloses all of the input images in their entirety. if parts of the input images are "chopped off" by the header template, the background correction will be affected. we recommend you use an expanded header for the reprojection and background modeling steps, then return to the originally desired header size for the final coaddition. the default background matching assumes there are no non-linear background variations in the individual images (and therefore in the overlap differences). if there's any uncertainty about that, it's safer to turn on the "level only" background matching β that's the-lflag inmBgModel. π«Ά
COPYRIGHT
2001-2015 California Institute of Technology, Pasadena, California
if your research uses Montage, please include the following acknowledgement: "This research made use of Montage. It is funded by the National Science Foundation under Grant Number ACI-1440620, and was previously funded by the National Aeronautics and Space Administration's Earth Science Technology Office, Computation Technologies Project, under Cooperative Agreement Number NCC5-626 between NASA and the California Institute of Technology."
the Montage distribution includes an adaptation of the MOPEX algorithm developed at the Spitzer Science Center. π§
and that's the whole thing bestie π this page is from Montage 5, dated Dec 2016 β go make some iconic headers, mwah π πΈ
π¦ where this page comes from
- debian bookworm: montage 6.0+dfsg-7+b8 Β· BSD-3-Clause
- debian trixie: montage 6.1+dfsg-1+b1 Β· BSD-3-Clause
- ubuntu jammy: montage 6.0+dfsg-7build5 Β· BSD-3-Clause
- ubuntu noble: montage 6.0+dfsg-9 Β· BSD-3-Clause
- ubuntu questing: montage 6.1+dfsg-2
- ubuntu resolute: montage 6.1+dfsg-2build2 Β· BSD-3-Clause
- ubuntu stonking: montage 6.1+dfsg-2build2 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms