ratt-ru / meqtrees

A library for implementing radio astronomical Measurement Equations
http://meqtrees.net
10 stars 2 forks source link

flag_jones_minmax error, calico-wsrt.py #839

Open gijzelaerr opened 10 years ago

gijzelaerr commented 10 years ago
at 2011-12-09 18:38:56 Ian Heywood reported:

flag_jones_minmax error, calico-wsrt.py

gijzelaerr commented 10 years ago

Original comment thread migrated from bugzilla

at 2011-12-09 18:38:56 Ian Heywood replied:

Chief!

Trying a dE calibration with my e-MERLIN sim using calico-wsrt.py and I'm getting an error I've not seen before. I tried it on my KAT-7 transient sim which definitely used to work and that's now giving the same error, which is copied below.

It seems to be related to flagging so I"ve tried it with and without the 'flagging on solutions' parameters set but it persists.

As always please let me know if you want MS's, LSM's etc.

Cheers.

Using LSM module from Tigger (using svn version) at /home/ianh/trunk/Tigger (in path) Loading sumsslsm.lsm.html: Tigger sky model applied =TRANSIENT (involving 1 sources), 1 sources now selected tdlc(Compile.py:287:run_forest_definition): exception defining forest from TDL file: /home/ianh/trunk/Frameworks/Cattery/Calico/calico-wsrt.py Traceback (most recent call last): File "/home/ianh/trunk/Timba/install/symlinked-release/libexec/python/Timba/TDL/Compile.py", line 224, in run_forest_definition define_func(ns,**args); File "/home/ianh/trunk/Frameworks/Cattery/Calico/calico-wsrt.py", line 322, in _define_forest flag_jones_minmax=flag_jones and (flag_jones_min,flag_jones_max)); TypeError: correct_uv_data() got an unexpected keyword argument 'flag_jones_minmax' tdlgui(TDLEditor_standard.py:731:compile_content): caught cumulative error, length 1

at 2011-12-09 18:52:22 Oleg Smirnov replied:

Can you please try calico-wsrt-tens instead? I've been doing some fixes to the flagging recently, and may not have propagated the changes to the old-style script yet. Besides, tensor-mode calibration is also quite a bit faster.

at 2011-12-12 10:58:58 Ian Heywood replied:

Tensor mode works just fine, thanks. I've downgraded the severity of this bug as well.