Skip to content

Commit 92a20d8

Browse files
authored
Merge pull request #78 from rubyvanrooyen/rvr-refractor-main-setup-plots
rvr refractor main setup plots
2 parents 46f7d3d + 55347b9 commit 92a20d8

File tree

6 files changed

+390
-491
lines changed

6 files changed

+390
-491
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ The example below will produce a plot per field.
137137
If no ``--field`` selection is provided, then `shadems` will iterate over all fields in the MS:
138138
139139
```
140-
$ shadems --xaxis CORRECTED_DATA:real,UV --yaxis CORRECTED_DATA:imag,CORRECTED_DATA:amp --field 0,2 --corr XX,YY --iter-fields <msname>
140+
$ shadems --xaxis CORRECTED_DATA:real,UV --yaxis CORRECTED_DATA:imag,CORRECTED_DATA:amp --field 0,2 --corr XX,YY --iter-field <msname>
141141
```
142142
143143
* You can also iterate over SPWs, scans, correlations and (coming soon) antennas.

setup.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,9 @@
55

66
requirements = [
77
"dask-ms[xarray]",
8-
"dask[complete]",
9-
"datashader>=0.11.2a1", # @ git+https://github.com/o-smirnov/datashader.git",
8+
"distributed==2.14.0",
9+
"dask[complete]==2.14.0",
10+
"datashader>=0.12.0",
1011
"holoviews",
1112
"matplotlib>2.2.3; python_version >= '3.5'",
1213
"cmasher",

shade_ms/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
DEFAULT_CNUM = 16
66
DEFAULT_NUM_RENDERS = max(1, len(os.sched_getaffinity(0))//2)
77

8-
from .__main__ import cli # noqa
8+
from .__main__ import cli, parse_plot_spec, parse_slice_spec # noqa
99

1010
# create logger with 'spam_application'
1111
log = logging.getLogger('shadems')

0 commit comments

Comments
 (0)