Stixpy 0.1.2 (2024-07-16)#

Features#

  • Add a custom coordinate frame stixpy.coordinate.frames.STIXImaging and the associated transformations (stixim_to_hpc, hpc_to_stixim) to and from Helioprojective. Also add a stixpy.map.stix.STIXMap for Map source which properly displays the stixpy.coordinate.frames.STIXImaging coordinate frame. (#90)

  • Merged stixpy.calibration.get_visibility_info_giordano and stixpy.calibration.get_visibility_info into stixpy.calibration.get_uv_points_data and removed stixpy.calibration.correct_phase_projection. (#98)

  • Update livetime correction parameter eta, tau and 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 Map using STIXImaging and make_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 of em. (#124)

  • Add missing QL products QLVariance, QLFlareFlag, and QLTMStatusFlareList to 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_elut to use correct science energy channels for given date. (#107)

  • Fix a bug where the incorrect unit was set on QLLightCurve, QLBackground and QLVariance. (#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_end was added to STIXImaging when 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)