Bcdi

Latest version: v0.3.1

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

Scan your dependencies

Page 3 of 5

0.1.6

-------------

* Write unit tests for ``experiment.detector.py``, now coverage is > 99% for this
module.

* move forward CDI gridding function to ``Setup``.

* implement ``DiffractometerP10SAXS`` and ``BeamlineP10SAXS`` classes for forward CDI
experiments at P10.

* split the module ``preprocessing_utils`` in two modules, ``bcdi_utils`` and
``cdi_utils``.

* Move generic functions from ``preprocessing_utils`` to ``utilities``.

* Create new validations functions ``valid_ndarray`` and ``valid_1d_array``, implement
the corresponding unit tests.

* Refactor: rename ``preprocessing_utils.regrid`` to ``calc_qvalues_xrutils`` and move
it to ``Setup``. Put all the beamline dependent code in the corresponding ``Beamline``
child class.

0.1.5

-------------

* Bug: convert arrays to a tuple before checking the length in Setup.ortho_directspace.

0.1.4

-------------

* Feature: implement a new validation function valid_ndarray, implement tests and remove
the redundant code in modules.

* Refactor: split the Detector class using inheritance, refactor scripts accordingly and
implement tests.

* Feature: create a Beamline class with one child class for each beamline, move
all beamline-dependent methods from Setup to the respective class and implement some
tests.

0.1.3

-------------

* Refactor: allow the user to not provide a mask in the BCDI PRTF calculations (3D and
2D).

* Refractor: split bcdi.experiment.experiment_utils module into smaller modules.

* Refactor: enforce project's guidelines for the code style and the docstrings.

* Create a dodo.py file (doit package) to simplify the life of contributors: now they
just need to run doit at the same level as setup.py and verify that all checks pass
before sending their pull request.

* Create a CONTRIBUTING.md file.

0.1.2

-------------

* Refactor: remove circular imports from modules.

* Refactor: ``move crop_pad``, ``bin_data`` and ``gaussian_window functions`` from
``postprocessing_utils.py`` to another module in order to avoid circular imports.

* Feature: create a Diffractometer class with one child class for each beamline, move
all functions related to the goniometer positions in the class.

* Feature: add an option in ``strain.py`` to put back the sample in the laboratory
frame with all sample circles rotated back to 0 deg.

* Refactor: show only necessary plots and console output in ``strain.py``.

* Refactor: create Setup calculated properties and transfer calculations in scripts to
these properties.

* Refactor: perform the geometrical transformation and rotation of the reconstructed
crystal in a single step.

* Refactor: perform the geometrical transformation and rotation of the diffraction
pattern in a single step.

* Bug: provide voxel sizes in the correct order when rotating the diffraction pattern
in ``preprocess_bcdi.py``.

0.1.1

-------------

* code cleaning.

Page 3 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.