MAKEPROFILES(1)

πŸ“¦
version 0.24 Β· 5 versions
, in epel 10, epel 9, nixos 26.05, nixpkgs unstable, ubuntu resolute, ubuntu stonking

✨ 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 β€” Use GSL_RNG_SEED environment 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 Β© 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