Commit 9501540
V0.0.6 dev (#132)
* update stimela in pyproject.toml
* add 3.12 to classifiers in pyproject.toml
* add jax version of psf convolve
* modify kclean to work with undersized psf
* fix wsum normalisation in subminor. avoid circular import. lower kclean test threshold
* clean up external masking logic in kclean
* report which threading layer was in use for numba after sara
* add multi-stokes predict
* don't double normalise wgt per band in L2-reweight steps
* Add joint correlation gridding (#131)
* start adding joint polarisation products
* compute natural grad with jax in hci
* attempt to limit number of jax cpu threads per process
* don't limit XLA cpu device count
* use first element of tuple produced by cg in hci
* tweaks
* get grid app working with joint pol products. Add beams table to fits hdu
* try IFT pol model with approx likelihood
* convolving correlations is hard
* polfusion
* fiddle with BEAMS subtable
* add some checks
* Fix BEAMS subtable so that beam displays correctly in CARTA
* small tweaks to parser
* fix failing tests
* use 90-PA in add_beampars
* reinstate nearsest neighbour gridding for weighting tests
* Also test FS in test_polproducts
* fix flag ncorr for averaging routines, update Dockerfile, remove spotless cab
* cache MFS PSFPARS in dds, make psfpars_mfs optional in dds2fits
* simple transient injection in hci worker (no pol parameters)
* update restore worker to work with multiple times and correlations
* fix typos in restore worker, remove some unused imports
* add complex convolve test when gridding correlations directly
* render wsclean models to mds
* remove product from fits name in model2comps
* typo
* fix axis order in model2comps, write out cube as sanity check
* fix field delection in degrid worker
* do not drop ncorr on flag before weight_data in hci
* add inject-transients to hci config
* pass mask into counts to weigts in hci
* start adding polclean functionality. Don't double normalise restored image by wsum
* add fskclean test
---------
Co-authored-by: Landman Bester <lbester@com08.science.kat.ac.za>
* transpose stokes axis in hci worker
* convert beam params to degrees and add during header construction
* add psf-relative-size to hci. only make it big enough to fit the main lobe by default
* cast PA to degrees in fits header
* also for MFS beam pars
* redefine pa as 90-pa for consistency with fits conventions
* filter extreme counts in hci worker
* mimic no-use-weights-as-taper
* allow single precision weighting
* noop when filter-counts-level is None
* only grid half the uv-plane inside weighting functions
* change uv bins in weighting code, use floor instead of round
* check bounds in both compute_counts and counts_to_weights
* keep uvw and freq in double precision
* add better tests for weighting code. don't use fatmath when computing weights. tidy up and add min_padding parameter to hci worker
* add option to write out weight grid in hci worker
* add arbitrary stokes outputs
* make zarr output of hci worker compatible with what is expected in breifast
* add NAXIS keywords to fits headers. update product checks in init
* fix indentation in hci
* use log.info instead of file=log
* fix failing tests
* reverse sign of X in hci output
* do not use fastmath in wavelets
* init_factor -> init-factor
* log.info -> print in utils
* normalise by wsum when writing zarr in hci. remove manual encoding
* base divergence check on whether both rmax and rms increase, not just rms
* add header ordering in hci comment. fix weighting when k>0
* enforce proper ordering of header parameters when converting WCS to a header
* convert pa to degrees in stokes2im
* update pyscilog
* pyscilog master -> main
* resort to nearest neighbour gridding to compute the weights if all else fails
* divorce pyscilog. start adding rephasing to hci worker
* add logging.py
* update actions and set up dependabot
---------
Co-authored-by: Landman Bester <lbester@com08.science.kat.ac.za>1 parent 1ad9849 commit 9501540
File tree
55 files changed
+4629
-1698
lines changed- .github
- workflows
- pfb
- deconv
- operators
- opt
- parser
- utils
- wavelets
- workers
- tests
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
55 files changed
+4629
-1698
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| |||
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
85 | 90 | | |
86 | | - | |
| 91 | + | |
87 | 92 | | |
88 | 93 | | |
89 | 94 | | |
90 | 95 | | |
91 | | - | |
| 96 | + | |
92 | 97 | | |
93 | 98 | | |
94 | 99 | | |
95 | 100 | | |
96 | 101 | | |
97 | 102 | | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | | - | |
102 | | - | |
103 | 103 | | |
104 | 104 | | |
105 | 105 | | |
| |||
113 | 113 | | |
114 | 114 | | |
115 | 115 | | |
116 | | - | |
| 116 | + | |
117 | 117 | | |
118 | 118 | | |
119 | 119 | | |
| |||
124 | 124 | | |
125 | 125 | | |
126 | 126 | | |
127 | | - | |
| 127 | + | |
128 | 128 | | |
129 | 129 | | |
130 | 130 | | |
| |||
163 | 163 | | |
164 | 164 | | |
165 | 165 | | |
166 | | - | |
| 166 | + | |
167 | 167 | | |
168 | 168 | | |
169 | 169 | | |
| |||
177 | 177 | | |
178 | 178 | | |
179 | 179 | | |
180 | | - | |
| 180 | + | |
181 | 181 | | |
182 | 182 | | |
183 | 183 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
17 | 16 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
15 | | - | |
16 | 14 | | |
17 | 15 | | |
18 | 16 | | |
| |||
94 | 92 | | |
95 | 93 | | |
96 | 94 | | |
97 | | - | |
| 95 | + | |
98 | 96 | | |
99 | | - | |
| 97 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
13 | 16 | | |
14 | 17 | | |
15 | 18 | | |
| |||
52 | 55 | | |
53 | 56 | | |
54 | 57 | | |
55 | | - | |
| 58 | + | |
56 | 59 | | |
57 | 60 | | |
58 | 61 | | |
59 | 62 | | |
60 | 63 | | |
61 | 64 | | |
62 | | - | |
| 65 | + | |
63 | 66 | | |
64 | 67 | | |
65 | 68 | | |
| |||
80 | 83 | | |
81 | 84 | | |
82 | 85 | | |
83 | | - | |
| 86 | + | |
84 | 87 | | |
85 | 88 | | |
86 | 89 | | |
| |||
0 commit comments