Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Martin Reinecke
ducc
Commits
9f9bc9fa
Commit
9f9bc9fa
authored
Sep 10, 2020
by
Martin Reinecke
Browse files
tweak docstrings
parent
506dac0d
Pipeline
#81955
passed with stages
in 12 minutes and 45 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
python/wgridder.cc
View file @
9f9bc9fa
...
...
@@ -74,7 +74,7 @@ constexpr auto ms2dirty_DS = R"""(
Converts an MS object to dirty image.
Parameters
==========
----------
uvw: np.array((nrows, 3), dtype=np.float64)
UVW coordinates from the measurement set
freq: np.array((nchan,), dtype=np.float64)
...
...
@@ -107,9 +107,14 @@ mask: np.array((nrows, nchan), dtype=np.uint8), optional
If present, only visibilities are processed for which mask!=0
Returns
=======
-------
np.array((nxdirty, nydirty), dtype=float of same precision as `ms`)
the dirty image
Notes
-----
The input arrays should be contiguous and in C memory order.
Other strides will work, but can degrade performance significantly.
)"""
;
template
<
typename
T
>
py
::
array
dirty2ms2
(
const
py
::
array
&
uvw_
,
...
...
@@ -150,7 +155,7 @@ constexpr auto dirty2ms_DS = R"""(
Converts a dirty image to an MS object.
Parameters
==========
----------
uvw: np.array((nrows, 3), dtype=np.float64)
UVW coordinates from the measurement set
freq: np.array((nchan,), dtype=np.float64)
...
...
@@ -181,9 +186,14 @@ mask: np.array((nrows, nchan), dtype=np.uint8), optional
If present, only visibilities are processed for which mask!=0
Returns
=======
-------
np.array((nrows, nchan,), dtype=complex of same precision as `dirty`)
the measurement set data.
Notes
-----
The input arrays should be contiguous and in C memory order.
Other strides will work, but can degrade performance significantly.
)"""
;
void
add_wgridder
(
py
::
module
&
msup
)
...
...
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