survey_analysis

This works on image files in FITS format. It is given the name of a FITS file, or a name with wild-cards (to be interpreted by glob.glob), or the name of a file containing a list of fits file names. The list file name should be prefixed with @.

Outputs are written to the working directory; this is either the current directory, or the directory given with the -d option.

Input file names must successfully address the input files from the working directory.

Two kinds of output are produced: 1. <workdir>/racs_stats_<run_date>.csv is created and statistics and PSF details are written to it. 2. <workdir>/<image_file_name>.rms.fits is created; this is the rms image from which statistics are determined. ————————————————————-

Module Contents

Functions

arg_init()

do_noise_statistics(in_files, survey[, replace, ...])

filter(hsib, flux_peak)

get_filtered_sources(beam_table)

do_bright_src_errs(in_file, survey)

write_b_err(db, fld, sb, data)

write_stats(db, in_table)

set_warn_filters()

main()

Attributes

NOFORMAT

b_err_colnames

b_err_coltypes

b_err_types

stats_colnames

stats_coltypes

stats_types

explanation

survey_analysis.NOFORMAT = '{noformat}\n'[source]
survey_analysis.b_err_colnames = ['RA_DEG', 'DEC_DEG', 'BR_MIN', 'BR_MAX'][source]
survey_analysis.b_err_coltypes = ['f4', 'f4', 'f4', 'f4'][source]
survey_analysis.b_err_types[source]
survey_analysis.stats_colnames = ['FLD_NAME', 'SBID', 'MED_RMS_uJy', 'MODE_RMS_uJy', 'STD_RMS_uJy', 'MIN_RMS_uJy', 'MAX_RMS_uJy'][source]
survey_analysis.stats_coltypes = ['S20', 'i4', 'f4', 'f4', 'f4', 'f4', 'f4'][source]
survey_analysis.stats_types[source]
survey_analysis.explanation[source]
survey_analysis.arg_init()[source]
survey_analysis.do_noise_statistics(in_files, survey, replace=False, fcor_stats=True, method='rms')[source]
survey_analysis.filter(hsib, flux_peak)[source]
survey_analysis.get_filtered_sources(beam_table)[source]
survey_analysis.do_bright_src_errs(in_file, survey)[source]
survey_analysis.write_b_err(db, fld, sb, data)[source]
survey_analysis.write_stats(db, in_table)[source]
survey_analysis.set_warn_filters()[source]
survey_analysis.main()[source]