Recent Releases of csdmpy
csdmpy - v0.7.0
What's new
cp.joinfunction 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 withupdate_attrs=False np.tilecan tile csdm objects.- Replace
np.fftfunction calls with fastersp.fftcalls.
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
What's Changed
- Djs/remove support for py37 and update astropy dependency by @deepanshs in https://github.com/deepanshs/csdmpy/pull/80
- Bump codecov/codecov-action from 3.1.3 to 3.1.4 by @dependabot in https://github.com/deepanshs/csdmpy/pull/68
- Bump actions/setup-python from 4 to 5 by @dependabot in https://github.com/deepanshs/csdmpy/pull/85
- Bump actions/checkout from 3 to 4 by @dependabot in https://github.com/deepanshs/csdmpy/pull/84
- Bump github/codeql-action from 2 to 3 by @dependabot in https://github.com/deepanshs/csdmpy/pull/83
- Bump codecov/codecov-action from 3.1.4 to 3.1.5 by @dependabot in https://github.com/deepanshs/csdmpy/pull/88
- join CSDM objects into one by @deepanshs in https://github.com/deepanshs/csdmpy/pull/93
- Bump codecov/codecov-action from 3.1.5 to 4.0.0 by @dependabot in https://github.com/deepanshs/csdmpy/pull/94
- Bump codecov/codecov-action from 4.0.0 to 4.0.1 by @dependabot in https://github.com/deepanshs/csdmpy/pull/96
- update unit attributes by @deepanshs in https://github.com/deepanshs/csdmpy/pull/95
- Check dimension equality within tolerance by @deepanshs in https://github.com/deepanshs/csdmpy/pull/97
- djs/Add np tile feature by @deepanshs in https://github.com/deepanshs/csdmpy/pull/100
- Bump codecov/codecov-action from 4.0.1 to 4.1.0 by @dependabot in https://github.com/deepanshs/csdmpy/pull/99
- replace np with sp by @deepanshs in https://github.com/deepanshs/csdmpy/pull/101
- Bump codecov/codecov-action from 4.1.0 to 4.1.1 by @dependabot in https://github.com/deepanshs/csdmpy/pull/102
- Bump codecov/codecov-action from 4.1.1 to 4.3.1 by @dependabot in https://github.com/deepanshs/csdmpy/pull/106
- Bump codecov/codecov-action from 4.3.1 to 4.4.0 by @dependabot in https://github.com/deepanshs/csdmpy/pull/107
- drop support for py 3.8 by @deepanshs in https://github.com/deepanshs/csdmpy/pull/108
- update sphinx requirement by @deepanshs in https://github.com/deepanshs/csdmpy/pull/109
- Bump numexpr from 2.8.4 to 2.10.0 by @dependabot in https://github.com/deepanshs/csdmpy/pull/103
- Bump codecov/codecov-action from 4.4.0 to 4.4.1 by @dependabot in https://github.com/deepanshs/csdmpy/pull/111
- Bump codecov/codecov-action from 4.4.1 to 4.5.0 by @dependabot in https://github.com/deepanshs/csdmpy/pull/112
- Support for Numpy 2.0 compatibility by @deepanshs in https://github.com/deepanshs/csdmpy/pull/113
- Bump codecov/codecov-action from 4.5.0 to 4.6.0 by @dependabot in https://github.com/deepanshs/csdmpy/pull/116
- Prep for v0.7.0 release by @deepanshs in https://github.com/deepanshs/csdmpy/pull/115
Full Changelog: https://github.com/deepanshs/csdmpy/compare/v0.6.0...v0.7.0
- Python
Published by deepanshs over 1 year ago
csdmpy - v0.6.0
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.padandnp.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
.csdfefiles were immutable.
What's Changed
- [fix] csdmpy save bug by @deepanshs in https://github.com/deepanshs/csdmpy/pull/54
- set requirement astropy>=5.0 by @deepanshs in https://github.com/deepanshs/csdmpy/pull/55
- astropy requirement update by @deepanshs in https://github.com/deepanshs/csdmpy/pull/56
- Accept both c and f contiguous array for dependent variables. by @deepanshs in https://github.com/deepanshs/csdmpy/pull/57
- lint fix by @deepanshs in https://github.com/deepanshs/csdmpy/pull/61
- Bump codecov/codecov-action from 3.1.0 to 3.1.1 by @dependabot in https://github.com/deepanshs/csdmpy/pull/60
- Fix dimension left multiply by @deepanshs in https://github.com/deepanshs/csdmpy/pull/62
- djs/update broken links by @deepanshs in https://github.com/deepanshs/csdmpy/pull/63
- Bump codecov/codecov-action from 3.1.1 to 3.1.3 by @dependabot in https://github.com/deepanshs/csdmpy/pull/65
- djs/Method to convert csdm object with negative dimension increment to positive by @deepanshs in https://github.com/deepanshs/csdmpy/pull/66
- new reshape feature by @deepanshs in https://github.com/deepanshs/csdmpy/pull/67
- djs/Scale first point by 2 before fft by @deepanshs in https://github.com/deepanshs/csdmpy/pull/69
- djs/Support for python 3.11 by @deepanshs in https://github.com/deepanshs/csdmpy/pull/70
- Bug fix by @deepanshs in https://github.com/deepanshs/csdmpy/pull/72
- djs/Numpy feature:
np.padandnp.flipby @deepanshs in https://github.com/deepanshs/csdmpy/pull/75 - Djs/Fix for NMR dimensionless frequency by @deepanshs in https://github.com/deepanshs/csdmpy/pull/76
- djs/Copy
np.frombufferdata when loading by @deepanshs in https://github.com/deepanshs/csdmpy/pull/77 - v0.6 update release by @deepanshs in https://github.com/deepanshs/csdmpy/pull/79
Full Changelog: https://github.com/deepanshs/csdmpy/compare/v0.5.0...v0.6.0
- Python
Published by deepanshs about 2 years ago
csdmpy - v0.5.0
What’s new
- Add support for
np.cumsum,np.cumprod,np.argmin, andnp.argmaxfunctions to CSDM objects.
Bugfix
- Bugfix involving plot of CSDM datasets with dependent-variable quantity type of
vector_1orpixel_1. - Bugfix when assigning
DimensionList/DependentVariableListto the CSDMdimensionsanddependent_variablesattributes, respectively. #45 - Bugfix in CSDM object serializing when using Astropy.units v4.0 and higher.
- Bugfix for incorrect class name. #39
Deprecated
add_x, andadd_yfunctions of the CSDM object are removed.
- Python
Published by deepanshs over 3 years ago
csdmpy - v0.4.0
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
- Python
Published by deepanshs almost 5 years ago
csdmpy - v0.3.4
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.
- Python
Published by deepanshs over 5 years ago
csdmpy - v0.3.3
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.
- Python
Published by deepanshs over 5 years ago
csdmpy - v0.3.0
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() ```
- Python
Published by deepanshs over 5 years ago
csdmpy - csdmpy
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.
- Python
Published by deepanshs over 5 years ago
csdmpy - Support for NumPy methods.
- CSDM objects are now compatible with NumPy methods.
- Easy conversion of NumPy array to CSDM object.
- Python
Published by deepanshs about 6 years ago