Csdmpy

Latest version: v0.7.0

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

Scan your dependencies

Page 1 of 3

0.7.0

------

Feature
'''''''

- ``cp.join`` function to join multiple CSDM objects with same dimensions into
one CSDM object with multiple dependent variables.
- Ability to update dimension attribute units using the ``.to(unit, update_attrs=True)``
function. The default is the current behavior with ``update_attrs=False``
- ``np.tile`` can tile csdm objects.
- Replace ``np.fft`` function calls with faster ``sp.fft`` calls.


Bugfix
''''''

- Check dimension equality within tolerance to avoid failure from machine precision error.

Others
''''''

- Remove support for python 3.7 and 3.8, and added support for python 3.12 and 3.13

0.6.0

------

Feature
'''''''

- Convert negative increment CSDM object to positive increment CSDM object.
- Accepts both C and F contiguous numpy array to convert to CSDM object. 57
- Add `csdm.reshape(dim1, dim2)` to CSDM object to reshape a CSDM object to the
given list dimension object---`dim1`, `dim2`.
- Numpy broadcasing mulipllication can now be applied to csdm objects.
- Support for additional numpy methods `np.pad` and `np.flip`.

Bugfix
''''''

- fft and ifft scale the first point by 2 when the dimension is non-periodic.
- Bugfix in serializing csdm 54
- You can multiply CSDM objects by a scalar to the right (`csdm * scalar`). The fix
now allows the multiplication of CSDM objects by a scalar to the left (`scalar * csdm`). 62
- Bugfix where csdm objects `.csdfe` files were immutable.

0.5.0

------

What's new
''''''''''

- Add support for ``np.cumsum``, ``np.cumprod``, ``np.argmin``, ``np.argmax`` functions to CSDM objects.

Bugfix
''''''

- Bugfix involving plot of datasets with dependent-variable quantity type of `vector_1` or `pixel_1`.
- Bugfix when assigning DimensionList/DependentVariableList to the CSDM dimensions and dependent_variables attribute 45
- Bugfix in CSDM object serializing when using Astropy.units v4.0 and higher. 44
- Bugfix for incorrect class name. 39

Deprecated
''''''''''

- `add_x`, `add_y` functions are removed.

0.4.1

------

Patch update for the CSDM dimension's ``quantity_name`` attribute value from units compatible with astropy>=4.3

0.4

----

What's new
''''''''''

- The ``add_dimension`` and ``add_dependent_variable`` from CSDM class are deprecated.

Bugfix
''''''

- Fixed error in calculating the nmr dimensionless frequency ratio (ppm) when dimension.complex_fft=False

0.3.5

------

- Fix the missing library error from pip installation.

Page 1 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.