MDIFFFITEXEC(1)
π MDIFFFITEXEC(1) π
okay bestie, welcome to the Montage manual page for mDiffFitExec β she's the girl who runs mDiff and mFitplane for every record that mOverlaps found, and honestly? iconic. no cap.
β¨ NAME β¨
mDiffFitExec β Run mDiff and mFitplane for each record found by mOverlaps.
π SYNOPSIS π
mDiffFitExec [-d] [-l(evel-only)] [-n(o-areas)] [-p projdir] [-s statusfile]
diffs.tbl region.hdr diffdir fits.tbl
also yes, the synopsis really does say -n(o-areas) β I'm not gonna pretend it doesn't, bestie. π
π¦ DESCRIPTION π¦
Using the table of overlaps found by mOverlaps, mDiffFitExec runs both mDiff and mFitplane for each record. The fitting parameters are written to a file to be used by mBgModel. periodt.
π OPTIONS π
-dβ Turns on debugging. she's yapping now, and honestly? valid.-lβ Only find image background level differences, not slope offsets. level-only vibes.-pβ Directory containing projected images. the projection folder, bestie.-s statusfileβ Writes output message tostatusfileinstead of to stdout. quiet mode, but make it a file.
π ARGUMENTS π
diffs.tblβ Overlap table generated bymOverlaps, listing all the image pairs that overlap. the master list of overlaps.region.hdrβ FITS header template that was used to reproject the images. the header blueprint.diffdirβ Working directory for the difference images. where the diff pics live.fits.tblβ Output table of difference parameters. the final receipts.
π₯ RESULT π₯
Generates a table, fits.tbl, containing all the information generated by running mDiff for the image pairs in diffs.tbl and then mFitplane on each difference image. count is the number of overlaps in diffs.tbl, diff_failed is the number that generated an error condition for mDiff, fit_failed is the number that generated an error condition for mFitplane, and nwarning is the number that generated a warning. she ate and left no crumbs.
π MESSAGES π
If she's not okay, she's gonna say:
ERROR Cannot open status file: statusfile
ERROR Can't open output file.
ERROR Invalid diffs metadata file: diffsfile
ERROR Need columns: cntr1 cntr2 plus minus diff
ERROR svc library error
πΈ EXAMPLES πΈ
First, diffs.tbl is generated for a collection of reprojected images using mOverlap:
$ mDiffFitExec -d -p projected diffs.tbl gal.hdr diffs fits.tbl
[struct stat="OK", count=6, diff_failed=0, fit_failed=0,
warning=0]
Output file: fits.tbl. slay.
π BUGS π
The drizzle algorithm has been implemented but has not been tested in this release. so she's experimental, bestie β proceed with caution.
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"]
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. 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. 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 -l flag in mBgModel). basically: don't let the header template do a bad haircut on your images.
π 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. respect the lore.
okay bye bestie β this was Montage 5, Dec 2016, MDIFFFITEXEC(1). 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