MeqTrees Batch Mode: A Short Tutorial

An Example $ meqtree-pipeliner.py –help use this config file

$ meqtree-pipeliner.py -c .tdl.conf example-sim.py

\ compile this script

\

=_tdl_job_1_simulate_MS run this job (look in meqtree.log) MeqTrees Batch Mode: A Short Tutorial - 3GC-II, Portugal

2

Config Files 

.tdl.conf is where the browser keeps the current option set associated with each script 



tdlconf.profiles is where you save/load options using the buttons at the bottom of the options window 



Section is script name

Section is the profile name you supply

meqtree.log is where all the jobs you run are logged, along with a complete configuration

MeqTrees Batch Mode: A Short Tutorial - 3GC-II, Portugal

3

Typical Use Case 

Set up a simulation or calibration interactively



“Save” options to a profile named “foo”

$ cp tdlconf.profiles my.conf $ meqtree-pipeliner.py -c my.conf @foo example-sim.py

\ use section [foo] from my.conf

\ \

=_tdl_job_1_simulate_MS MeqTrees Batch Mode: A Short Tutorial - 3GC-II, Portugal

4

Typical Config File ... ms_sel.ms_antenna_sel = None ms_sel.ms_corr_sel = 1 ms_sel.ms_taql_str = None ms_sel.msname = MS/WSRT_hba.MS ms_sel.output_column = CORRECTED_DATA ms_sel.select_channels = 0 ms_sel.tile_size = 32 noise_stddev = None oms_gain_models.err-gain.error_model = SineError oms_gain_models.err-gain.max_period = 2 oms_gain_models.err-gain.maxval = 1.5 oms_gain_models.err-gain.min_period = 1 oms_gain_models.err-gain.minval = 0.5 oms_gain_models.err-phase.error_model = NoError run_purr = 0 sim_mode = sim only use_wsrt_cos3 = 1 uvw_refant = 0 uvw_source = from MS ... MeqTrees Batch Mode: A Short Tutorial - 3GC-II, Portugal

5

Changing Things On-The-Fly $ meqtree-pipeliner.py -c my.conf

\

@foo

\

ms_sel.msname=vlad.ms

\

example-sim.py

\

=_tdl_job_1_simulate_MS Load section [foo] from my.conf, then set MS name to “vlad.ms”, then compile script example-sim.py. (MS name is a compile-time option, and thus must be set before we compile the script.) MeqTrees Batch Mode: A Short Tutorial - 3GC-II, Portugal

6

Same For Runtime Options $ meqtree-pipeliner.py -c my.conf

\

@foo

\

ms_sel.msname=vlad.ms

\

example-sim.py

\

ms_sel.tile_size=128

This is a run-time option, and may be set before or after compiling the script (but before running the job!)

\

=_tdl_job_1_simulate_MS

\

img_sel.imaging_weight = natural =make_dirty_image

MeqTrees Batch Mode: A Short Tutorial - 3GC-II, Portugal

More jobs may be run in the same invocation, with their own option changes

7

Going Deeper 



meqtree-pipeliner.py is just a simple wrapper around the Python interface (~170 lines of code) If you want to run MeqTrees non-interactively directly from Python, look inside

MeqTrees Batch Mode: A Short Tutorial - 3GC-II, Portugal

8

And That's All, Folks

MeqTrees Batch Mode: A Short Tutorial - 3GC-II, Portugal

9

MeqTrees Batch Mode: A Short Tutorial - GitHub

tdlconf.profiles is where you save/load options using the buttons at ... Section is the profile name you supply ... around the Python interface (~170 lines of code).

2MB Sizes 15 Downloads 177 Views

Recommend Documents

Predicting visibilities in MeqTrees with UVBrick - GitHub
SixpackImageComponent (Python). FFTBrick ... interpolated visibilities as a function of frequency and time. ... enables one to calculate V(u,v,w) from V(u,v,w=0).

D Templates: A Tutorial - GitHub
In the next chapters, you'll see how to define function, struct and class templates. ...... can find on the D Programming Language website, but they act in a natural ...... opDispatch is a sort of operator overloading (it's in the same place in the o

BamTools API Tutorial - GitHub
Mar 23, 2011 - https://github.com/pezmaster31/bamtools/wiki/BamTools-1x_PortingGuide.pdf ... adjust how your app locates the shared library at runtime.

The MeqTrees software system and its use for third ... - GitHub
Nov 5, 2010 - The technical goal of MeqTrees is to provide a tool for rapid implementation of such models ... 1 Throughout this paper, we will use the generic term station for an element ..... have emerged in recent years (most prominently numpy/scip

Batch Mode Reinforcement Learning based on the ...
We give in Figure 1 an illustration of one such artificial trajectory. ..... 50 values computed by the MFMC estimator are concisely represented by a boxplot.

Recent Advances in Batch Mode Reinforcement Learning - Orbi (ULg)
Nov 3, 2011 - R. Fonteneau(1), S.A. Murphy(2), L.Wehenkel(1), D. Ernst(1) ... To combine dynamic programming with function approximators (neural.