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
59119185
Commit
59119185
authored
Aug 16, 2019
by
Martin Reinecke
Browse files
add docstring
parent
f122e045
Changes
1
Hide whitespace changes
Inline
Side-by-side
nifty_gridder.cc
View file @
59119185
...
...
@@ -526,6 +526,24 @@ np.array((nxdirty, nydirty), dtype=np.float64)
the image with the taper applied
)"""
;
constexpr
auto
apply_wscreen_DS
=
R"""(
Applies the w screen to an image
Parameters
==========
dirty: nd.array((nxdirty, nydirty), dtype=np.complex128)
the image
w : float
the w value to use
adjoint: bool
if True, apply the complex conjugate of the w screen
Returns
=======
np.array((nxdirty, nydirty), dtype=np.complex128)
the image with the w screen applied
)"""
;
constexpr
auto
GridderConfig_DS
=
R"""(
Class storing information related to the gridding/degridding process.
...
...
@@ -1530,7 +1548,8 @@ PYBIND11_MODULE(nifty_gridder, m)
.
def
(
"dirty2grid"
,
&
GridderConfig
<
double
>::
dirty2grid
,
dirty2grid_DS
,
"dirty"
_a
)
.
def
(
"dirty2grid_c"
,
&
GridderConfig
<
double
>::
dirty2grid_c
,
"dirty"
_a
)
.
def
(
"apply_wscreen"
,
&
GridderConfig
<
double
>::
apply_wscreen
,
"dirty"
_a
,
"w"
_a
,
"adjoint"
_a
)
.
def
(
"apply_wscreen"
,
&
GridderConfig
<
double
>::
apply_wscreen
,
apply_wscreen_DS
,
"dirty"
_a
,
"w"
_a
,
"adjoint"
_a
)
// pickle support
.
def
(
py
::
pickle
(
...
...
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