Full Changelog#
0.1.dev74+g0a47673 (2024-04-15)#
Breaking Changes#
sunkit_spex.sunxspex_fitting.fitter.Fitter
no longer inherits fromsunkit_spex.sunxspex_fitting.data_loader.LoadSpec
. (#75)Move
add_photon_model
,del_photon_model
,add_var
,del_var
to instance methods onFitter
class. (#75)Update STIX spectrogram and srm loading and plotting functions for the new STIX file format. (#98)
Rename of package from ‘sunxspex’ to ‘sunkit-spex’ with module being ‘sunkit_spex’. (#114)
Update minimum python version to python version to 3.9 and add testing for 3.10 and 3.11. (#121)
Renamed
sunxspex_fitting
module tofitting_legacy
and added a newfitting
module. (#137)
New Features#
Add photon space broken power law
sunxspex.photon_power_law.broken_power_law_binned_flux()
. Behavior is equivalent to the OSPEX power law f_bpow.pro when the pivot option is given. Similar to XSPEC bknpower. (#103)
Bug Fixes#
Added special case in C-stat likelihood function
sunkit_spex.sunxspex_fitting.likelihoods.LogLikelihoods.cstat_loglikelihood()
it defaults to the Poisson likelihood now when data is zero. (#85)Removed cast to
int
when converting the model count rates (counts/second) to just counts since the model represents the average number of counts, there is not need for these to be integers. (#87)Fix bug where MCMC random walker starter positions were not correctly calculated. (#89)
Fixed bug where passing a user defined instrument loader class to
sunkit_spex/sunxspex_fitting/fitter.Fitter
caused an error. (#108)Upper bound of thick target emission function in
sunxspex.sunxspex_fitting.photon_models_for_fitting.thick_fn()
is calculated from highest energy input. (#115)Fixed bug where changing the Chianti file for
sunkit_spex.thermal
and usingsunkit_spex/sunxspex_fitting/fitter.Fitter
caused an error. (#134)
Internal Changes#
0.1.dev158+g658b502.d20231003 (2023-10-03)#
Breaking Changes#
sunkit_spex.sunxspex_fitting.fitter.Fitter
no longer inherits fromsunkit_spex.sunxspex_fitting.data_loader.LoadSpec
. (#75)Move
add_photon_model
,del_photon_model
,add_var
,del_var
to instance methods onFitter
class. (#75)Update STIX spectrogram and srm loading and plotting functions for the new STIX file format. (#98)
Rename of package from ‘sunxspex’ to ‘sunkit-spex’ with module being ‘sunkit_spex’. (#114)
New Features#
Add photon space broken power law
sunxspex.photon_power_law.broken_power_law_binned_flux()
. Behavior is equivalent to the OSPEX power law f_bpow.pro when the pivot option is given. Similar to XSPEC bknpower. (#103)
Bug Fixes#
Added special case in C-stat likelihood function
sunkit_pex.sunxspex_fitting.likelihoods.LogLikelihoods.cstat_loglikelihood()
it defaults to the Poisson likelihood now when data is zero. (#85)Removed cast to
int
when converting the model count rates (counts/second) to just counts since the model represents the average number of counts, there is not need for these to be integers. (#87)Fix bug where MCMC random walker starter positions were not correctly calculated. (#89)
Fixed bug where passing a user defined instrument loader class to
sunkit_spex/sunxspex_fitting/fitter.Fitter
caused an error. (#108)
Internal Changes#
sunkit_spex 0.1.dev121+gbe82142 (2022-04-16)#
No significant changes.