Pyfstat

Latest version: v2.2.1

Safety actively analyzes 723158 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 5 of 8

1.11.1

- matplotlib will no longer be automatically forced to `agg`,
but only if `env["DISPLAY"]` is not set
- improved default scaling of MCMC corner plots
- fixed missing unit for `tp` binary parameter in MCMC default plot labels

1.11.0

- LALSuite >= 6.80 now required
- simplified calls to F-stat prediction
- Writer:
- internal cleanup of sftfilenames vs sftfilepath
- SFTs are validated at end of `run_makefakedata()`
- core and search classes: improved and fixed non-standard detection statistics
- fixed basic twoFX and BSGL computation logic for transient and semicoherent cases, generalized to Ndet>2
- reorganised methods for these computations
- additional results are stored as class attributes
- for transients, the detection statistic is now called explicitly `maxTwoF`
- grid classes now initiate their `.search` object at instantiation instead of at first `run()` call

1.10.1

- bugfix for `MCMCSearch.plot_prior_posterior()`

1.10.0

- documentation now available from https://pyfstat.readthedocs.io
- and examples can be run on https://mybinder.org/v2/gh/PyFstat/PyFstat/master
- still being improved
- added `gridcorner` module for plotting GridSearch results
- removed the specialist grid-based classes which were deprecated in 1.9.0
- internal changes to search classes
- should ideally not change anything for standard CW use cases
- but fix some corner cases and make for more robustness
- made tstart,tend optional in `get_fullycoherent_twoF()`
- adapted most high-level search classes to this change
- grid searches now internally use named-column ndarrays
- some cleanup to keys storage in MCMC classes
- changed `helper_functions.get_doppler_params_output_format()` to return dict
- fixed sorting of output fmt specifiers for both MCMC and grid classes
- changed `GridSearch.inititate_search_object()` to internal method `_initiate_search_object()`
- line-robust statistics are now always stored and returned as log10BSGL
(for consistency with LALSuite)
- made various class methods private that had no obvious end-user use case
- `MCMCSearch.run()`: initiate search object before checking for old data
- `MCMCGlitchSearch.plot_cumulative_max()`: add savefig option (defaults to false)
- `GridSearch.plot_2D()`: renamend `save` option to `savefig`
for consistency with other plotting functions
- removed unused `ComputeFstat.get_full_CFSv2_output()`
- removed unused helper functions:
- `compute_P_twoFstarcheck()`
- `compute_pstar()`
- `twoFDMoffThreshold()`
- new example `other_examples/PyFstat_example_spectrogram.py`
- some improvements to tests and examples
- KNOWN ISSUES: implementation of line-robust statistic BSGL will need to be overhauled

1.9.0

- new class `InjectionParametersGenerator`
- draws dicts of parameters from arbitrary priors
- can then be directly passed e.g. to Writer as `**params`
- and derived `AllSkyInjectionParametersGenerator`
- deprecate various grid-based specialist classes:
- these were all more or less unmaintained since a long time
- SliceGridSearch
- GridUniformPriorSearch
- SlidingWindow
- FrequencySlidingWindow
- EarthTest
- DMoff_NO_SPIN
- will be removed in next version unless users speak up

1.8.0

- big overhaul of cumulative twoF calculations and plotting
- Writer: fix expected sftfilepattern in multi-IFO and custom-TSFT cases
- fixed internal consistency of parameter names:
- Freq->F0 and phi0->phi for all PyFstat classes/functions
- consistent conversion to lalappas arguments
- fixed parsing of injectSqrtSX and assumeSqrtSX arguments
- helper_functions.predict_fstat() no longer takes `**kwargs`
- new instructions and helpful scripts for setting up developer environments (venv or conda)
- various improvements to test suite

Page 5 of 8

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.