:py:mod:`survey_selavy`
=======================
.. py:module:: survey_selavy
Module Contents
---------------
Functions
~~~~~~~~~
.. autoapisummary::
survey_selavy.gen_selavy
Attributes
~~~~~~~~~~
.. autoapisummary::
survey_selavy.sel_in
survey_selavy.sel_slurm
survey_selavy.askap_version
survey_selavy.epoch
survey_selavy.survey
survey_selavy.root
survey_selavy.tab
survey_selavy.sbid
.. py:data:: sel_in
:value: Multiline-String
.. raw:: html
Show Value
.. code-block:: python
"""Selavy.image = {}
Selavy.sbid = {}
Selavy.sourceIdBase = {}
Selavy.imageHistory = ["Produced with ASKAPsoft version {}"]
Selavy.imagetype = fits
#
# These parameters define the measurement of spectral indices
Selavy.spectralTermsFromTaylor = true
Selavy.findSpectralTerms = [true, false]
Selavy.spectralTermImages = [{}, ]
Selavy.nsubx = 6
Selavy.nsuby = 3
Selavy.overlapx = 0
Selavy.overlapy = 0
#
Selavy.resultsFile = {}
#
# Detection threshold
Selavy.snrCut = 5
Selavy.flagGrowth = true
Selavy.growthThreshold = 3
#
Selavy.VariableThreshold = true
Selavy.VariableThreshold.boxSize = 50
Selavy.VariableThreshold.imagetype = fits
Selavy.Weights.weightsImage = {}
Selavy.Weights.weightsCutoff = 0.04
#
Selavy.Fitter.doFit = true
Selavy.Fitter.fitTypes = [full]
Selavy.Fitter.numGaussFromGuess = true
Selavy.Fitter.maxReducedChisq = 10.
Selavy.Fitter.imagetype = fits
Selavy.Fitter.writeComponentMap = false
#
Selavy.threshSpatial = 5
Selavy.flagAdjacent = true
#
Selavy.minPix = 3
Selavy.minVoxels = 3
Selavy.minChannels = 1
Selavy.sortingParam = -pflux
#
# Precision of values
# Selavy.precFlux = 5
# Selavy.precSize = 4
# Selavy.precShape = 4
# Selavy.precPos = 6
# Selavy.precSolidangle = 4
# Selavy.precSNR = 4
# Not performing RM Synthesis for this case
Selavy.RMSynthesis = false"""
.. raw:: html
.. py:data:: sel_slurm
:value: Multiline-String
.. raw:: html
Show Value
.. code-block:: python
"""#!/bin/bash -l
#SBATCH --time=04:00:00
#SBATCH --nodes=2
#SBATCH --job-name=selavy
#SBATCH --no-requeue
#SBATCH --export=NONE
#SBATCH --mail-user=david.mcconnell@csiro.au
#SBATCH --mail-type=FAIL
#SBATCH --account=askap
#SBATCH -M galaxy
#SBATCH -p workq
module load askapsoft
module load casa
srun --export=ALL --ntasks=19 --ntasks-per-node=10 selavy -c {}
"""
.. raw:: html
.. py:function:: gen_selavy(survey, irow, slurm_name, in_name)
.. py:data:: askap_version
.. py:data:: epoch
:value: 0
.. py:data:: survey
.. py:data:: root
.. py:data:: tab
.. py:data:: sbid