MAKEPROFILES(1)
β¨ MAKEPROFILES β¨
ok so bestie, welcome to MakeProfiles β that's the astmkprof program from GNU Astronomy Utilities 0.24, living in section 1 (User Commands) of the manual. she makes standard 2D profiles on an image and honestly? iconic behaviour. π
π NAME π
MakeProfiles β make standard 2D profiles on an image. that's it, that's the girlboss job description. π
πΈ SYNOPSIS πΈ
astmkprof [OPTION...] [Options] [Catalog]
π¦ DESCRIPTION π¦
okay so MakeProfiles is part of GNU Astronomy Utilities 0.24. what she does is create a FITS image containing literally any number of mock astronomical profiles, all based on an input catalog. no cap. π«Ά
and here's the vibe of how she builds them: all the profiles get built from the center outwards. first via Monte Carlo integration, then using the central pixel position. the tolerance level is the thing that decides when she switches from one method to the other. periodt.
want more info? run any of these, bestie:
- all the options and their values:
$ astmkprof -P
- inputs/outputs and options (this one is the one, it has a super comprehensive explanation of MakeProfiles's invocation β expected input(s), output(s), and a full description of all the options):
$ info astmkprof
- full section in the manual/book:
$ info MakeProfiles
- full Gnuastro manual/book:
$ info gnuastro
and if the manual is not giving you the answers (rude of it honestly), you can get direct help from experienced Gnuastro users and developers. for that, run:
$ info help-gnuastro
π MAKEPROFILES OPTIONS π
π Input π
-B,--backhdu=INT/STRβ HDU of background image.--customimg=FITSβ Image file for'custom-img'profile.--customimghdu=INT/STRβ HDU of image given to--customimg.--customtable=FITS/TXTβ File for'custom-prof'profile.--customtablehdu=INT/STRβ HDU of table given to--customtable.-C,--clearcanvasβ All pixels in background image read as zero.-E,--kernel=STRβ Parameters to only build one kernel.-h,--hdu=STR/INTβ Input catalog HDU name or number (if FITS).-I,--ignorecaseβ Ignore case in matching/searching columns.-k,--background=FITSβ A background image to make the profiles on.--searchin=STRβ Select column(s):'name','unit','comment'.--stdintimeout=INTβ Micro-seconds to wait for standard input.
π Output π
-D,--dontdeleteβ Don't delete output if it exists.-i,--individualβ Build all profiles separately.-K,--keepinputdirβ Keep input directory for automatic output.-m,--nomergedβ Do not create a merged image of all profiles.--outfitsnocommitβ No Git commit in 0-th HDU of output FITS.--outfitsnoconfigβ No metadata in 0-th HDU of output FITS.--outfitsnodateβ No'DATE'in 0-th HDU of output FITS.--outfitsnoversionsβ No versions in 0-th HDU of output FITS.-o,--output=STRβ Output file name.--psfinimgβ PSF profiles made with all in output image.-s,--oversample=INTβ Scale of oversampling (>0 and odd).-T,--type=STRβ Type of output: e.g.,int16,float32, etc...--wcslinearmatrix=STRβ WCS linear matrix of output ('pc'or'cd').-x,--mergedsize=INT[,INT,...]β Merged image size along each dimension.
π§ Profiles π§
-c,--prepforconvβ Shift and expand based on first catalog PSF.-e,--envseedβ UseGSL_RNG_SEEDenvironment variable for seed.-f,--mforflatpixβ mcol is flat pixel value (when fcol is 5 or 6)--magatpeakβ Magnitude is for peak pixel, not full profile.--mcolissumβ mcol is total sum, not magnitude.--mcolnocustimgβ Ignore value of mcol in'custom-img'.--mcolnocustprofβ Ignore value of mcol in'custom-prof'.--mode=STRβ Mode of--ccol:'img'or'wcs'.-p,--tunitinpβ Truncation is in units of pixels, not radius.-r,--numrandom=INTβ No. of random points in Monte Carlo integ.-R,--replaceβ Replace overlapping profile pixels, don't add.-t,--tolerance=FLTβ Tolerance to switch to less accurate method.-w,--circumwidth=FLTβ Width of circumference (inward) profiles-X,--shift=INT[, ...]β Shift profile centers in output image.-z,--zeropoint=FLTβ Magnitude zero point.
π Columns, by info (see --searchin), or number (starting from 1) π
--ccol=STR/INTβ Coordinate columns (one call for each dim.).--fcol=STR/INTβ sersic (1), moffat (2), gaussian (3), point (4), flat (5), circumference (6), distance (7), custom-prof (8), azimuth (9), custom-img (10).--mcol=STR/INTβ Magnitude.--ncol=STR/INTβ Sersic index or Moffat beta.--p2col=STR/INTβ Second Euler angle (X-Z-X order).--p3col=STR/INTβ Third Euler angle (X-Z-X order).--pcol=STR/INTβ Position angle (3D: first X-Z-X Euler angle).--q2col=STR/INTβ Axis ratio (major/dim3 in 3D).--qcol=STR/INTβ Axis ratio (major/dim2 in 3D).--rcol=STR/INTβ Effective radius or FWHM in pixels.--tcol=STR/INTβ Truncation in units of--rcol.
β WCS parameters β
--cdelt=FLT[, ...]β Resolution in each dimension.--crpix=FLT[, ...]β Pixel coordinates of reference point.--crval=FLT[, ...]β WCS coordinates of reference point.--ctype=STR[, ... ]β One of FITS standard WCS types.--cunit=STR[, ... ]β Units of the WCS coordinates (e.g.,'deg').--pc=FLT[, ...]β WCS rotation matrix (all elements).
π Operating modes π
-?,--helpβ give this help list--checkconfigβ List all config files and variables read.--citeβ BibTeX citation for this program.--config=STRβ Read configuration file STR immediately.--config-prefix=STRβ Custom prefix of option names config files.--lastconfigβ Do not parse any more configuration files.--logβ Information about output(s) in a log file.--minmapsize=INTβ Min. bytes to avoid RAM automatically.-N,--numthreads=INTβ Number of CPU threads to use.--onlyversion=STRβ Only run if the program version is STR.-P,--printparamsβ Print parameter values to be used and abort.--quietmmapβ Don't print mmap'd file's name and size.-q,--quietβ Only report errors, remain quiet about steps.-S,--setdirconfβ Set default values for this directory and abort.--usageβ give a short usage message-U,--setusrconfβ Set default values for this user and abort.-V,--versionβ print program version
β οΈ okay important bestie: Mandatory or optional arguments to long options are also mandatory or optional for any corresponding short options. don't forget it, fr fr. π
GNU Astronomy Utilities home page: http://www.gnu.org/software/gnuastro/
π REPORTING BUGS π
Report bugs to bug-gnuastro@gnu.org.
π COPYRIGHT π
Copyright Β© 2015-2025 Free Software Foundation, Inc. License GPLv3+: GNU General public license version 3 or later.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Written/developed by Mohammad Akhlaghi. π
π₯ SEE ALSO π₯
The full documentation for MakeProfiles is maintained as a Texinfo manual. If the info and MakeProfiles programs are properly installed at your site, the command
info MakeProfiles
should give you access to the complete manual. iykyk. π¦
and that's the whole page, bestie!! this was GNU Astronomy Utilities 0.24, dated November 2025, straight from the MAKEPROFILES(1) man page. go build some iconic profiles, you absolute main character. πβ¨π
π¦ where this page comes from
- epel 10: gnuastro 0.24-1.el10_3 Β· GPL-3.0-or-later AND FSFAP AND GFDL-1.3-or-later
- epel 9: gnuastro 0.24-1.el9 Β· GPL-3.0-or-later AND FSFAP AND GFDL-1.3-or-later
- nixos 26.05: gnuastro 0.24
- nixpkgs unstable: gnuastro 0.24
- ubuntu resolute: gnuastro 0.24-1 Β· GPL-3.0-or-later
- ubuntu stonking: gnuastro 0.24-1 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms