PURIFY(1)

πŸ’– PURIFY(1) β€” User Commands πŸ’–

okay so bestie, we're doing a manual page today, and this one is purify from the User Commands section, iykyk. sit down, get comfy, we're gonna reconstruct some images together πŸ¦‹


✨ NAME ✨

purify β€” Reconstruct images from radio interferometers using PADMM πŸ’…


πŸŽ€ SYNOPSIS πŸŽ€

purify --measurement_set path --name path [options]

like. that's the whole vibe. two required things and then whatever else your heart desires ✨


🌸 DESCRIPTION 🌸

okay so PURIFY is literally a tool for radio interferometric imaging and it does a lot of the heavy lifting for you:

  • file handling (for both visibilities and fits files, no cap πŸ’…)
  • implementation of the measurement operator
  • set-up of the different optimization problems used for image deconvolution
🫢 heads up bestie: the code is given for educational purpose. it is in beta and it is still under development. so like, she's brilliant but she's still growing, okay?

✨ OPTIONS ✨

every single one, no skipping, we don't gatekeep here πŸ’–

  • --measurement_set β€” Path of measurement set. (required) 🚨
  • --name β€” Path of file output. (required) 🚨
  • --noise β€” Path of measurement_set with Stokes V noise estimate. (Assumes Stokes V of measurement set).
  • --niters β€” Number of iterations.
  • --stokes β€” Choice of stokes I, Q, U, or V (I is default).
  • --cellsize β€” Size of a pixel in arcseconds.
  • --size β€” Image size in pixels.
  • --width β€” Image width in pixels.
  • --height β€” Image height in pixels.
  • --beta β€” Values used to set the stepsize of PADMM
  • --noadapt β€” Choose not to update the stepsize.
  • --diagnostic β€” Save diagnostic information to log file.
  • --l2_bound β€” Factor to multiply the l2 bound by.
  • --relative_variation β€” Convergence criteria on relative variation (default is 1e-3).
  • --residual_convergence β€” Factor to multiply the l2 bound by for convergence. (default is 1)
  • --relative_gamma_adapt β€” Relative difference criteria for adapting the stepsize gamma (default 0.01).
  • --power_iterations β€” Maximum iterations for the power method.
  • --primary_beam β€” Choice of primary beam model. (none is the only option).
  • --fft_grid_correction β€” Choose calculate the gridding correction using an FFT rather than analytic formula.
  • --kernel β€” Type of gridding kernel to use, kb, gauss, pswf, box. (kb is default)
  • --kernel_support β€” Support of kernel in grid cells. (4 is the default)
  • --logging_level β€” Determines the output logging level for sopt and purify. ("debug" is the default)
  • --help β€” Print usage information.

πŸ‘‘ AUTHORS πŸ‘‘

PURIFY was initially created by Rafael Carrillo, Jason McEwen and Yves Wiaux but major contributions have since been made by a number of others. the full list of contributors is as follows, and we're giving them all their flowers πŸ’:

  • Rafael E. Carrillo
  • Jason D. McEwen
  • Yves Wiaux
  • Luke Pratley
  • Mayeul d'Avezac

πŸ’€ BUGS πŸ’€

if you have any questions or comments, feel free to contact Rafael Carrillo or Jason McEwen, or add an issue in the issue tracker:

https://github.com/astro-informatics/purify/issues

🌈 LICENSE 🌈

PURIFY Copyright (C) 2013 Rafael Carrillo, Jason McEwen, Yves Wiaux

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

😭 bestie yes the all-caps is on purpose, it's the legal equivalent of screaming, pls respect it.

and that's the whole page!! mwah πŸ’…βœ¨ this was purify version 2.0.0, dated October 2016 β€” so she's vintage, she's iconic, she's got main character energy, and she's still out here reconstructing images for you 🫢🌸 go slay, bestie πŸ’–

πŸ“¦ where this page comes from