Skip to content

Releases: v-morello/clfd

1.0.1

01 Jan 18:35

Choose a tag to compare

Slightly improved report plots.

Changed

  • Improved report plot layout; removed frames around each subplot, they had questionable added value and did not always render well at the edges of the image.

1.0.0

30 Dec 20:27

Choose a tag to compare

First stable release following a complete rewrite, because clfd was in danger of becoming legacy code. It is now ready for the Python 3.10+ era. From a CLI app user perspective, the core algorithms remain exactly the same, and the only notable addition is the generation of nice PNG report plots. Most of the work consisted in improving code quality, removing superfluous dependencies, setting up a continuous integration pipeline where each commit is tested in a docker container where PSRCHIVE is available, and substantially improving the test suite. A number of minor bugs were found and fixed as a result.

Added

  • CLI app now saves both a report and an associated PNG plot for each archive processed.
  • Report plots now show all the data in one figure: feature values, profile mask and time-phase spike mask (if spike removal was performed).

Fixed

  • Formula for autocorrelation feature acf has been corrected.
  • CLI app now checks whether PSRCHIVE python bindings are installed.
  • CLI app now checks that there are no duplicate input archive names when --outdir is specified. Before, there could be name collisions between output files.
  • CLI app now validates feature names.

Changed

  • Minimum required Python version is now 3.9.
  • By default, CLI app now uses as many parallel processes as there are CPU cores.
  • CLI app won't crash if there are archives that cannot be processed. Instead, the name of the offending archive is logged with the error traceback. This choice was made because the app uses multiprocessing.
  • Reports are now in a custom JSON format. They can be read using Report.load().
  • matplotlib is now a required dependency.
  • Removed dependencies: pandas, tables, scipy.

Removed

  • CLI app argument --fmt. It was pointless considering that the only supported data format is PSRCHIVE.
  • CLI app argument -e, --ext. The additional extension given to clean output archives is now always .clfd, which used to be the default choice.

0.4.0

30 Dec 20:29

Choose a tag to compare

This new version fixes an issue caused by a change in PSRCHIVE Python API, and starts a much needed modernisation effort of clfd. We are dropping support for Python 2.x from this point.

Fixed

  • Fixed a problem with recent PSRCHIVE versions where the Python API for loading archives has changed. Thanks to Bradley Meyers for discovering and fixing the issue (#3)
  • Fixed a warning from the pandas library about future changes to its HDF5 API.

Changed

  • PEP 517/518 compliant packaging, i.e. no more setup.py.

Removed

  • Support for Python 2.x
  • Removed function clfd.test(). Tests are not shipped with the module anymore.