Skip to content
Kelley M. Hess edited this page Jun 7, 2022 · 14 revisions

Welcome to the SoFiA Image Pipeline wiki!

Troubleshooting

The -m option doesn't produce a combined image.

Try typing which convert. If you have karma/kvis installed (common for viewing HI radio cubes), then it may return:
/usr/local/karma/bin/convert

If this is the case, you need to find where ImageMagick is installed. If you installed with Homebrew the path may be something like:
/usr/local/Cellar/imagemagick/7.1.0-13/bin/convert

To create the combined image, add the correct path after the -m option on the command line.

Minimum requirements for plotting HI contours on an optical image

Source catalog with the following properties:

Naming scheme: <catalogname>_cat.txt

Catalog contents:

  • A commented header similar enough to SoFiA in that the header starts on line 18. (Need to work on making this more flexible!)
  • The following column names: id, name, ra, dec, x, y, x_min, y_min, x_max, y_max, rms, and <one of freq,v_opt,v_rad, or v_app>.
    • ra, dec are in decimal degrees (float).
    • x, y is the source center in pixels (float).
    • x(y)_min(max) are the min/max in pixels of the source (int), used to determine if a larger figure should be retrieved for an individ source.
    • freq, v_opt, v_rad, or v_app are the systemic frequency/velocity of the galaxy.

Moment0 FITS file for each source with the following properties:

Naming scheme: <catalogname>_cubelets/<catalogname>_<id>_mom0.fits

FITS header contents (these may be non-standard for mom0 maps, but are required for estimating meaningful column density contours):

  • SPECSYS or VELREF to refer to the spectral coord system of the original data.
  • CTYPE3 to determine the spectral units of the original data.
    • If a cubelet is provided the coordinate system is determined from that so ctype3 isn't needed in a mom0 map. Alternatively, one could determine this from the catalog column names (e.g the existence of 'freq', 'v_opt', 'v_rad', or 'v_app' to indicate the center of the galaxy. (Requires some development).

Command line arguments:

  • -cw <channel width in native data units>. This can be the channel width of the original data, or simply the km/s or Hz over which the HI column density should be calculated for a given signal-to-noise (which can be specified with -snr). Noise value is taken from the rms column of the catalog.
Clone this wiki locally