importeovsa

Module Contents

Classes

_importeovsa

importeovsa ---- Parallelized import EOVSA idb file(s) to a measurement set or multiple measurement set.

Functions

static_var(varname, value)

Attributes

importeovsa

importeovsa.static_var(varname, value)[source]
class importeovsa._importeovsa[source]

importeovsa —- Parallelized import EOVSA idb file(s) to a measurement set or multiple measurement set.

Parallelized imports an arbitrary number of EOVSA idb-format data sets into a casa measurement set. If more than one band is present, they will be put in the same measurement set but in a separate spectral window.

——— parameter descriptions ———————————————

idbfiles Name of input EOVSA idb file(s) or observation time range. ncpu Number of cpu cores to use timebin Bin width for time averaging width Width of output channel relative to MS channel (# to average) visprefix Prefix of vis names (may include the path). udb_corr if applying correction to input UDB files before import to MS. nocreatms If setting nocreatms True, will simulate a model measurement set for the first idb file and copy the model for the rest of idl files in list. If False, will simulate a new measurement set for every idbfile in list. doconcat If concatenate multi casa measurement sets to one file. modelms Name of input model measurement set file. If modelms is assigned, no simulation will start. doscaling If creating a new MS file with the amplitude of visibility data rescaled. keep_nsclms Keep the no scaling measurement sets use_exist_udbcorr If use the existed udb_corr results.

——— examples ———————————————————–

Parallelized imports an arbitrary number of EOVSA idb-format data sets into a casa measurement set. If more than one band is present, they will be put in the same measurement set but in a separate spectral window.

Detailed Keyword arguments:

idbfiles – Name of input EOVSA idb file(s) default: none. Must be supplied example: idbfiles = ‘IDB20160524000518’ example: idbfiles=[‘IDB20160524000518’,’IDB20160524000528’]

ncpu – Number of cpu cores to use default: 8

visprefix – Prefix of vis names (may include the path) default: none; example: visprefix=’sun/’]

— Data Selection —

nocreatms – If copying a new MS file instead of create one from MS simulator. default: False

modelms – Name of the standard Measurement Set. IF modelms is not provided, use ‘/home/user/sjyu/20160531/ms/sun/SUN/SUN_20160531T142234-10m.1s.ms’ as a standard MS.

doconcat – If outputing one single MS file

— Channel averaging parameter —

width – Number of input channels to average to create an output channel. If a list is given, each bin will apply to one spw in the selection. default: 1 => no channel averaging. options: (int) or [int]

example: chanbin=[2,3] => average 2 channels of 1st selected spectral window and 3 in the second one.

— Time averaging parameters —

timebin – Bin width for time averaging. When timebin is greater than 0s, the task will average data in time. Flagged data will be included in the average calculation, unless the parameter keepflags is set to False. In this case only partially flagged rows will be used in the average. default: ‘0s’

_info_group_ = 'Import/export'[source]
_info_desc_ = 'Parallelized import EOVSA idb file(s) to a measurement set or multiple measurement set.'[source]
__schema[source]
__globals_()[source]
__to_string_(value)[source]
__validate_(doc, schema)[source]
__do_inp_output(param_prefix, description_str, formatting_chars)[source]
__width_dflt(glb)[source]
__width(glb)[source]
__idbfiles_dflt(glb)[source]
__idbfiles(glb)[source]
__doscaling_dflt(glb)[source]
__doscaling(glb)[source]
__ncpu_dflt(glb)[source]
__ncpu(glb)[source]
__modelms_dflt(glb)[source]
__modelms(glb)[source]
__visprefix_dflt(glb)[source]
__visprefix(glb)[source]
__timebin_dflt(glb)[source]
__timebin(glb)[source]
__udb_corr_dflt(glb)[source]
__udb_corr(glb)[source]
__nocreatms_dflt(glb)[source]
__nocreatms(glb)[source]
__doconcat_dflt(glb)[source]
__doconcat(glb)[source]
__use_exist_udbcorr(glb)[source]
__use_exist_udbcorr_dflt(glb)[source]
__keep_nsclms_dflt(glb)[source]
__keep_nsclms(glb)[source]
__idbfiles_inp()[source]
__ncpu_inp()[source]
__timebin_inp()[source]
__width_inp()[source]
__visprefix_inp()[source]
__udb_corr_inp()[source]
__nocreatms_inp()[source]
__doconcat_inp()[source]
__modelms_inp()[source]
__doscaling_inp()[source]
__keep_nsclms_inp()[source]
__use_exist_udbcorr_inp()[source]
set_global_defaults()[source]
inp()[source]
tget(savefile=None)[source]
tput(outfile=None)[source]
__call__(idbfiles=None, ncpu=None, timebin=None, width=None, visprefix=None, udb_corr=None, nocreatms=None, doconcat=None, modelms=None, doscaling=None, keep_nsclms=None, use_exist_udbcorr=None)[source]
importeovsa.importeovsa[source]