Orsopy

Latest version: v1.2.0

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

Scan your dependencies

Page 1 of 2

1.2.0

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

* Introduce reading and writing of NeXus files ORSO binary standard (*.orb)
* Add some extra attributes from updated ORSO specification (v1.1).
* Add polarization options for x-ray instruments.
* Fix compatibility with Python 3.12, resolving issue 115.
* Move tests to orsopy sub-folders to prevent interference with other packages.
* Some updates to the package documentation.
* Fix some cases where numpy based scalars where not properly converted to YAML.

1.1.0

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

* Introduction of simple model language that can be used to describe
sample structures. The module *orsopy.fileio.model_language* is used to implement
and parse the model language.
See https://www.reflectometry.org/projects/simple_model for specifications.
Sample model examples can be found in the examples folder together
with scripts using the orsopy module to parse and plot the data.
* Add polarization channels for x-ray experiments
* Implement ErrorValue class for optional description of errors
on values within the file header.
* Update of .ort standard according to discussions with community.
(E.g. rename of column attribute "dimension" to "physical_quantity")

1.0.1

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

* Fix bug that did allow some dictionary type values to be created in Sample.
* Update the schema files for released .ort standard.
* Sample.sample_parameters keys to be strings and values restricted to
Value, ValueRange, ValueVector or ComplexValue.
* Add *as_unit* method to value classes that uses the *pint* library to convert
values to supplied unit automatically.

1.0.0

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

* ORSO general assembly has voted to release the first version of orsopy together with the
text representation of the text file (.ort) specification.
See https://www.reflectometry.org/workshops/workshop_2022/

0.1.1

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

* Fix missing data files in distribution

0.1.0

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

* Revise .ort file header speicifcation according to ORSO discussions.
* Implement option for automatic unit conversion based on pint library
* Improve yaml export to support compact on-line layout for e.g. Value
* Add a ErrorColumn for clear separation between data and error columns
and allow specification of type/distribution of error with conversion
factors to get standard deviation (sigma)
* Add a ComplexValue class
* Fix some type conversions where e.g. lists have been converted to str

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.