forked from JackNarvaez/FringeFitting
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPlotGlobalFF.py
More file actions
40 lines (34 loc) · 968 Bytes
/
PlotGlobalFF.py
File metadata and controls
40 lines (34 loc) · 968 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
"""
Baseline Phase Plotter
======================
Load a Measurement Set (MS) and plot the visibility phase
for a selected baseline.
"""
from GlobalFF import LOAD_MS
# Path to the MeasurementSet (MS)
data_MS = "../Data/ILTJ125911.17+351954.5_143MHz_uv.dp3-concat"
# data_MS = "../Data/lofar-ds1-storage.ms"
# data_MS = "../Data/ILTJ123441.23+314159.4_141MHz_uv.dp3-concat"
# data_MS = "../Data/ILTJ131028.61+322045.7_143MHz_uv.dp3-concat"
# data_MS = "../Data/n24l2.ms"
# 0, 24
ant1 = 18
ant2 = 26
refant = 26
npol = [0, 3]
nSpW = 0
selfbls = False
vlbi = "lofar"
fld = 0
# ant1 = 5
# ant2 = 8
# refant = 2
# npol = [0, 3]
# nSpW = 1
# selfbls = True
# vlbi = "evn"
# fld = 1
ms_data = LOAD_MS(data_MS, npol=npol, SpW=nSpW, refant=refant, selfbls=selfbls, vlbi=vlbi)
# ms_data.plot_global(ant1, ant2,"CORRECTED_DATA", savef = False, fld = 0)
ms_data.plot_phase_global(ant1, ant2, npol, Model=False, savef=False, fld=fld)
ms_data.close()