rascil_image_check

rascil_image_check is a command line app written using RASCIL. It allows simple check on an image statistics.

The allowed fields are the statistics checked by qa_image function within the Image class

Example script

The following provides a check on the maximum of an image suitable for use in a shell script. The value returned is 0 if the constraint is obeyed and 1 if not:

python3 $RASCIL/rascil/apps/rascil_image_check.py --image $RASCIL/data/models/M31_canonical.model.fits --stat max --min 0.0 --max 1.2

Command line arguments

RASCIL image check

usage: rascil_image_check [-h] [--image IMAGE] [--stat STAT] [--min MIN]
                          [--max MAX]

Named Arguments

--image

Image to be read

--stat

Image QualityAssessment field to check

Default: “max”

--min

Minimum value

--max

Maximum value