Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
On Thursday, 7th July from 1 to 3 pm there will be a maintenance with a short downtime of GitLab.
Open sidebar
ift
nifty_gridder
Commits
f009cc0c
Commit
f009cc0c
authored
Aug 30, 2019
by
Martin Reinecke
Browse files
no more need to flip visibilities on the user side
parent
e7c63d23
Changes
1
Hide whitespace changes
Inline
Side-by-side
demo_wstack_realdata.py
View file @
f009cc0c
...
...
@@ -65,11 +65,6 @@ wgt = np.repeat(wgt[:, None], len(freq), axis=1)
# FLAGGED -> WGT=0
wgt
[
flags
]
=
0
# flip visibilities with w<0
mask
=
uvw
[:,
2
]
<
0
uvw
[
mask
]
*=
-
1
vis
=
np
.
conj
(
vis
)
*
mask
.
reshape
(
-
1
,
1
)
+
vis
*
(
1
-
mask
.
reshape
(
-
1
,
1
))
npixdirty
=
756
DEG2RAD
=
np
.
pi
/
180
pixsize
=
2.3
/
npixdirty
*
DEG2RAD
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment