Repository navigation
Releases
SyncEM 0.9.0
This is the release cited in A statistical framework for the modelling of synchrotron emission by Zheng Zhang, Jens Chluba and Robert Watson.
- The spectral-basis interface supports per-variable cells, conditional population laws, and fits with free moments, parametric laws or non-negative cells.
- The paper model joins finite-channel harmonic spectra below electron Lorentz factor 300 with continuum spectra from 300 upward. The prediction and fitting interfaces record the approximation and numerical error terms in an error ledger.
- The classical-model study includes the scripts for Table 5 and Fig. 9(j–l), along with the other tests in Section 5 and Appendix B. The study README maps the scripts and archived outputs to the paper. The 0.9.0 replay of Fig. 5 reproduces all 121 channels, with byte-identical basis data and figure files.
Install the package with python -m pip install syncem==0.9.0. The documentation includes a quickstart and guides for spectral fitting and the two-regime model.
For the paper outputs, download classical-models-outputs-v0.9.0.tar.gz below. Extract it in studies/classical-models from the v0.9.0 checkout and run shasum -a 256 -c SHA256SUMS.
Archive SHA-256: deb289ac326386970a528700a2f5f573a70bbede63960f646925f4c2620bb17c.
SyncEM 0.7.10
SyncEM 0.7.10
This release adds the extrapolation study behind Fig. 7 and Tables 6 and 7 of the classical-model study, and the scripts of the new basis-spectra figures (Figs. 4 and 8). The package code is unchanged from 0.7.9. The npz products and figures of studies/classical-models are attached as classical-models-outputs-v0.7.10.tar.gz. Extract it in that directory and check it with shasum -a 256 -c SHA256SUMS.
Classical-model study
- New extrapolation study: E2, E3, E4-JP and E6 fitted over 1-40 and 1-100 GHz at 1% and 0.01% noise (500 shared realisations) and evaluated up to 300 GHz, with free moments, non-negative cells and the moment and cumulant forms of the power-law mixture.
mixture_forms.pyandensemble_e6.py(modules),fits_mixture_forms.py,fits_free_positive.py(non-negative cells and the Delta chi2 <= 1 bound),fits_positive_ridge.py(penalty and positivity separated), andfig_extrapolation_positive.py, which draws Fig. 7 with its default arguments.run_all.pyruns them afterfits_family_noise.py.
basis_spectra_figure.pyandharmonic_basis_figure.pyreplacederivative_spectra_figure.py(Figs. 4 and 8).fig_cmb_extrapolation.pyno longer draws a figure of the paper. It and its input scripts were rerun after docstring changes, with unchanged values and figures.- The README documents the new study in group 18 and maps every group to the current manuscript.
SyncEM 0.7.9
SyncEM 0.7.9
This release redraws Fig. 6 of the classical-model study. The package code is unchanged from 0.7.8. The npz products and figures of studies/classical-models are attached as classical-models-outputs-v0.7.9.tar.gz. Extract it in that directory and check it with shasum -a 256 -c SHA256SUMS.
Classical-model study
- Fig. 6 shows E2 in all three panels. (b) fits the electron families of (a) over 1-100 GHz, instead of E3 over 1-40 GHz, to the same data set as the free-moment fits of (c). The three spectra share one range, so only (a) labels the y axes and the gaps between the columns are narrower.
fits_family_noise.pyfits the E2 families over the first 21 and 26 channels of the nested grid offits_cmb_bands.py, with its noise, at 1% and 0.01% noise. E3 and the 0.001% level are dropped.fits_cmb_bands.pyruns at 1% and 0.01% noise only.- README group 16 describes the current Fig. 6.
SyncEM 0.7.8
SyncEM 0.7.8
This release redraws Fig. 6 of the classical-model study and adds two study scripts. The package code is unchanged from 0.7.7. The npz products and figures of studies/classical-models are attached as classical-models-outputs-v0.7.8.tar.gz. Extract it in that directory and check it with shasum -a 256 -c SHA256SUMS.
Classical-model study
- Fig. 6 is one row of three panels. Each is a spectrum over two error subpanels, for fits to data with 1% and with 0.01% noise, on one error axis with a dotted 1% reference line.
- (a) and (b) keep the correct and incorrect electron families. Their error subpanels come from the new
fits_family_noise.py, which fits both families at 1%, 0.01% and 0.001% noise and evaluates them over 1-300 GHz. - (c) replaces the 10-300 GHz fit with free-moment fits of one E2 data set over its first 21, 26 and 32 channels (1-40, 1-100 and 1-304 GHz), from the new
fits_cmb_bands.py. Its spectrum shows, at 0.01% noise, the realisation whose 300 GHz errors lie closest to the median in all three bands.fits_cmb.pyis kept but no longer drawn.
SyncEM 0.7.7
SyncEM 0.7.7
This release changes the layout of Fig. 6 of the classical-model study. The package code is unchanged from 0.7.6. The npz products and figures of studies/classical-models are attached as classical-models-outputs-v0.7.7.tar.gz. Extract it in that directory and check it with shasum -a 256 -c SHA256SUMS.
Classical-model study
- Fig. 6 has narrower gaps between its panels and a shorter title for (a).
SyncEM 0.7.6
SyncEM 0.7.6
This release redraws Fig. 6(c) of the classical-model study at 0.01% noise. The package code is unchanged from 0.7.5. The npz products and figures of studies/classical-models are attached as classical-models-outputs-v0.7.6.tar.gz. Extract it in that directory and check it with shasum -a 256 -c SHA256SUMS.
Classical-model study
- Fig. 6(c) shows the data and the free-moment fit at 0.01% noise, and its
error panel shows that noise level only. The fit-range labels give the
noise level of each panel.
SyncEM 0.7.5
SyncEM 0.7.5
This release adds the free-moment fit over 10-300 GHz to the classical-model study, drawn as Fig. 6(c). The package code is unchanged from 0.7.4. The npz products and figures of studies/classical-models are attached as classical-models-outputs-v0.7.5.tar.gz. Extract it in that directory and check it with shasum -a 256 -c SHA256SUMS.
Classical-model study
- Fig. 6 has a panel (c), the free-moment fit of E2 over 10-300 GHz from the
newfits_cmb.py, with its error panel. The error panels under (a) and (b)
are removed. (a) and (b) shade the 16-84% range of the predicted intensity
over the 500 realisations instead, from family fits repeated by
fig_cmb_extrapolation.pyand checked againstfits_extrap_products.npz.
The error axis of (c) is in per cent with the ticks of Fig. 5. The numbers
of (a) and (b) are unchanged.
SyncEM 0.7.4
SyncEM 0.7.4
This release changes two figures of the classical-model study. The package code is unchanged from 0.7.3. The npz products and figures of studies/classical-models are attached as classical-models-outputs-v0.7.4.tar.gz. Extract it in that directory and check it with shasum -a 256 -c SHA256SUMS.
Classical-model study
- Fig. 6 (
fig_cmb_extrapolation.py) has a figure legend in the style of
Fig. 5, with the family names kept on the curves. - Fig. 7 (
emission_windows.py) names the curves of panel (a) in a legend
inside that panel, names the objects of (b) and (c) in their titles and
has shorter notes. The plotted values are unchanged.
SyncEM 0.7.3
SyncEM 0.7.3
This release changes one figure of the classical-model study. The package code is unchanged from 0.7.2. The npz products and figures of studies/classical-models are attached as classical-models-outputs-v0.7.3.tar.gz. Extract it in that directory and check it with shasum -a 256 -c SHA256SUMS.
Classical-model study
- Fig. 5 (
figure_plots.py) draws the true spectrum as a wider grey band
under a thinner fit line, so the two are easier to tell apart.
SyncEM 0.7.2
SyncEM 0.7.2
This release updates two figure scripts of the classical-model study and records the representation error of the extrapolation test. The package code is unchanged from 0.7.1. The npz products and figures of studies/classical-models are attached as classical-models-outputs-v0.7.2.tar.gz. Extract it in that directory and check it with shasum -a 256 -c SHA256SUMS.
Classical-model study
- Fig. 6 (
fig_cmb_extrapolation.py) uses a uniform logarithmic frequency
axis, with an error panel at half the height under each intensity panel.
In panel (b) the truth label sits under the truth curve without a leader,
and the lower y-limit is 0.97, so no in-band error bar is cut. - Fig. 7(c) (
emission_windows.py) draws |V|/I only over 10 < ν/ν_c < 3e10,
the range on which the fitting formula of Pandya et al. (2016) was tested
(up to 420 GHz at 5 µG,V_over_I_tested_upper_GHz). verify_extrap.pyrecords the intensity error over 40–300 GHz of the
separable columns at the generating moments of E2 and E3 for N = 2 and 4
(representation_at_generating_moments).