MHDRWWT(1)
π mHdrWWT(1) β the Montage girlies' guide to header templates π
okay bestie, sit down, we're doing mHdrWWT from the Montage suite. yes the name is cursed. yes it's giving "someone fell asleep on the shift key". we love her anyway. π
β¨ NAME β¨
mHdrWWT β literally just None. that's what the manpage says, that's what I'm telling you. no cap. π
πΈ SYNOPSIS πΈ
mHdrWWT tileID hdrFile
π¦ DESCRIPTION π¦
so what she does is: she creates the header template for a specific WWT/TOAST tile. that's the whole gig. π
now β and I need you to hear me on this β these tiles are not usually of any use except in serving the WWT interface. like, they're not for you, they're for the interface, iykyk. however, the files are standard FITS and PNG, so you can view them that way if you so desire. the option is there, bestie. π«Ά
tiles are identified by WWT tile ID, which is a Z-ordered quandrant digits string. (yes, "quandrant". that's the original's spelling. I don't make the rules, I just vibe with them. β¨)
π ARGUMENTS π
tileIDβ for the top-level (all-sky) TOAST tile, thetileIDis an empty string. literally nothing. silence. the void. π³οΈ then for the next level down, the sky gets divided into four "quadrants" and thetileIDis"0","1","2"and"3". and it just keeps going finer and finer β tiles at the fifth level down have IDs like"3102". recursion queen πhdrFileβ the output header file, normally with a name that includes thetileID(e.g."planck.hdr","planck3102.hdr"). name her after her tile, it's only right π
π« RESULT π«
she generates the specified header file, which then gets used by mProjectQL to reproject input data into TOAST tile FITS files β which in turn are converted by mViewer into TOAST tile PNG files. it's a whole pipeline, bestie, everyone's doing their part. π
and normally? all of this is only used in conjunction with the WWT interface. so if you're out here using it for something else... interesting choice, main character energy, but okay. π
π¬ MESSAGES π¬
OKβ[struct stat="OK", level=level, xtile=i, ytile=j]β¨ERRORβ Invalid character in ID string (must be in [0,1,2,3])ERRORβ Cannot open output header file.
π EXAMPLES π
Tile IDs are in the form of a Z-ordered recursion. for informational purposes (because she's thoughtful like that π), the program also outputs the location of the tile in the "x" and "y" location it has in the array of tiles for its tile level.
$ mHdrWWT "3102" planck3102.hdr
[struct stat="OK", level=4, xtile=12, ytile=6]
look at her go. level 4, xtile 12, ytile 6. she ate and left no crumbs. π₯
π BUGS π
okay this is the part where we get real. π«Ά
The drizzle algorithm has been implemented but has not been tested in this release.
she's built different but she hasn't been tested different. proceed accordingly, bestie. π
If a header template contains carriage returns (i.e., created/modified on a Windows machine), the cfitsio library will be unable to read it properly, resulting in the error: [struct stat="ERROR", status=207, msg="illegal character in keyword"]
windows jumpscare fr fr. π
It is best for the background correction algorithms if the area described in the header template completely encloses all of the input images in their entirety. If parts of input images are "chopped off" by the header template, the background correction will be affected.
no chopping. we don't chop. βοΈπ«
We recommend you use an expanded header for the reprojection and background modeling steps, returning to the originally desired header size for the final coaddition.
so: big header for the middle steps, tiny header for the finale. glow up in reverse. π
The default background matching assumes that there are no non-linear background variations in the individual images (and therefore in the overlap differences). If there is any uncertainty in this regard, it is safer to turn on the "level only" background matching (the-lflag inmBgModel).
when in doubt, -l it out. πΈ
π 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 page, bestie!! this was Montage 5, dated Dec 2016 β blowing you kisses from the terminal, mwah πβ¨π¦ no cap, stay tiled. π
π¦ 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