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
Open sidebar
ift
nifty_gridder
Commits
7306904a
Commit
7306904a
authored
Jul 08, 2019
by
Martin Reinecke
Browse files
fixes (I think...)
parent
af10c529
Changes
1
Hide whitespace changes
Inline
Side-by-side
nifty_gridder.cc
View file @
7306904a
...
...
@@ -403,7 +403,7 @@ template<typename T> class Baselines
auto
t
=
idx
(
i
);
auto
row
=
t
/
nchan
;
auto
chan
=
t
-
row
*
nchan
;
ms
(
row
,
chan
)
=
vis
(
i
);
ms
(
row
,
chan
)
+
=
vis
(
i
);
}
}
return
res
;
...
...
@@ -681,7 +681,6 @@ template<typename T> pyarr_c<complex<T>> vis2grid_c(
auto
grid
=
res
.
mutable_data
();
{
py
::
gil_scoped_release
release
;
for
(
size_t
i
=
0
;
i
<
nu
*
nv
;
++
i
)
grid
[
i
]
=
0.
;
T
beta
=
gconf
.
Beta
();
size_t
w
=
gconf
.
W
();
...
...
@@ -737,7 +736,6 @@ template<typename T> pyarr_c<complex<T>> ms2grid_c(
auto
grid
=
res
.
mutable_data
();
{
py
::
gil_scoped_release
release
;
for
(
size_t
i
=
0
;
i
<
nu
*
nv
;
++
i
)
grid
[
i
]
=
0.
;
T
beta
=
gconf
.
Beta
();
size_t
w
=
gconf
.
W
();
...
...
@@ -798,7 +796,6 @@ template<typename T> pyarr_c<complex<T>> ms2grid_c_wgt(
auto
grid
=
res
.
mutable_data
();
{
py
::
gil_scoped_release
release
;
for
(
size_t
i
=
0
;
i
<
nu
*
nv
;
++
i
)
grid
[
i
]
=
0.
;
T
beta
=
gconf
.
Beta
();
size_t
w
=
gconf
.
W
();
...
...
Write
Preview
Supports
Markdown
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