Stixpy 0.1.2 (2024-07-16)#
Features#
Add a custom coordinate frame
stixpy.coordinate.frames.STIXImagingand the associated transformations (stixim_to_hpc,hpc_to_stixim) to and fromHelioprojective. Also add astixpy.map.stix.STIXMapforMapsource which properly displays thestixpy.coordinate.frames.STIXImagingcoordinate frame. (#90)Merged
stixpy.calibration.get_visibility_info_giordanoandstixpy.calibration.get_visibility_infointostixpy.calibration.get_uv_points_dataand removedstixpy.calibration.correct_phase_projection. (#98)Update livetime correction parameter
eta,tauand add code to calculate pileup ‘beta’stixpy.calibration.livetime.pileup_correction_factor(). (#100)Add background subtraction step to imaging demo, update
EnergyEdgeMasks. (#106)Update imaging demo to use images and construct
MapusingSTIXImagingandmake_fitswcs_header. (#107)Update
get_hpc_info()to use mean or interpolate pointing and location data based on number of data points in given timerange. Add function cache for aux data frequenly needed during coordinate transforms. (#111)Make the imaging demo compatible with
Visibilities(#123)Update code and examples to use new
Visibilities, tidy API ofem. (#124)Add missing QL products
QLVariance,QLFlareFlag, andQLTMStatusFlareListto Product. Also added some useful properties to the for status words. (#125)
Bug Fixes#
Fix ELUT correction when the requested data has less then than 32 energy channels. (#106)
Update
get_elutto use correct science energy channels for given date. (#107)Fix a bug where the incorrect unit was set on
QLLightCurve,QLBackgroundandQLVariance. (#118)Fix bug where coordinate transforms did not support arrays of coordinates or times. To so support both integrated (e.g. images) and instantaneous (e.g. coarse flare flag) a new property
obstime_endwas added toSTIXImagingwhen set if possible mean pointing and position information are use for transformations other wise they are interpolated between the two nearest data points. (#128)Fix typo in
ScienceData‘durtaion’ -> ‘duration’. (#132)Fix some inconsistencies on the data units in plots, also return handle to the image from
plot_spectrogram. (#134)
Improved Documentation#
Update README, fix graphviz RTD configuration, configure theme logo text. (#89)
Correct calculation of the HPC coordinate of the center of the STIX pointing in the imaging demo. (#112)
Update imaging demo for latest changes in xrayvision. (#115)
Trivial/Internal Changes#
Format code with ruff and turn on ruff format in pre-commit. (#116)