Skip to content

Releases: deepanshs/csdmpy

v0.6.0

11 Jan 08:46
159ece0
Compare
Choose a tag to compare

What’s new

Feature highlights

  • 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.

What's Changed

Full Changelog: v0.5.0...v0.6.0

v0.5.0

09 Jul 22:04
Compare
Choose a tag to compare

What’s new

  • Add support for np.cumsum, np.cumprod, np.argmin, and np.argmax functions to CSDM objects.

Bugfix

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

Deprecated

  • add_x, and add_y functions of the CSDM object are removed.

v0.4.1

26 Jul 22:01
ce79c9a
Compare
Choose a tag to compare

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

v0.4.0

07 May 15:58
8bbd71f
Compare
Choose a tag to compare

The csdmpy package is a Python support for the core scientific dataset (CSD) model file exchange-format. The package is based on the core scientific dataset (CSD) model which is designed as a building block in the development of a more sophisticated portable scientific dataset file standard. The CSD model is capable of handling a wide variety of scientific datasets both within and across disciplinary fields.

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

v0.3.4

01 Oct 04:11
Compare
Choose a tag to compare

The csdmpy package is a Python support for the core scientific dataset (CSD) model file exchange-format. The package is based on the core scientific dataset (CSD) model which is designed as a building block in the development of a more sophisticated portable scientific dataset file standard. The CSD model is capable of handling a wide variety of scientific datasets both within and across disciplinary fields.

v0.3.3

14 Sep 15:22
Compare
Choose a tag to compare

The csdmpy package is a Python support for the core scientific dataset (CSD) model file exchange-format. The package is based on the core scientific dataset (CSD) model which is designed as a building block in the development of a more sophisticated portable scientific dataset file standard. The CSD model is capable of handling a wide variety of scientific datasets both within and across disciplinary fields.

v0.3.2

05 Aug 19:26
Compare
Choose a tag to compare

Bug fixes

  • Bugfix in fft method when applied to multi-dimensional CSDM objects.

Others

  • Added new tutorial examples.

v0.3.1

25 Jul 22:22
Compare
Choose a tag to compare

Bug fixes

  • Bugfix regarding the phase multiplier for the CSDM.fft() methods where an incorrect phase was multiplied to the signal vector.

v0.3.0

15 Jun 18:06
559241d
Compare
Choose a tag to compare

Whats new!

Support for matplotlib.pyplot functions from CSDM objects. The following functions are supported
- plot,
- scatter,
- imshow,
- contour, and
- contourf

Now you can directly plot CSDM objects as an argument to the above matplotlib methods by creating Matplotlib axes with projection='csdm'

import Matplotlib.pyplot as pat
ax = plt.subplot(projection='csdm')
# ax.plot()  # not plot as you would with matplotlib functions.
plt.show()

csdmpy

09 Jun 21:30
d789f97
Compare
Choose a tag to compare

v0.2.2

Bug fixes

  • Fixed bug where the metadata from the csdm.application key was not serialized
    to the file when using csdm.save() method.

Other changes

  • Add a new diffusion tensor MRI dataset to the example gallery.
  • Added dict() as an alias to the to_dict() method for all objects.
  • Added an alias of the cp.plot() function to the CSDM object as the
    plot() method.