Csdmpy

Latest version: v0.6.0

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

Scan your dependencies

Page 1 of 3

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.

0.3.4

------

Changes
'''''''

- Image and Contour plots of csdm objects no longer draw colorbar. Colorbar can be
requested separately using `plt.colorbar()`.

Page 1 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.