Releases: deepanshs/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.pad
andnp.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
- [fix] csdmpy save bug by @deepanshs in #54
- set requirement astropy>=5.0 by @deepanshs in #55
- astropy requirement update by @deepanshs in #56
- Accept both c and f contiguous array for dependent variables. by @deepanshs in #57
- lint fix by @deepanshs in #61
- Bump codecov/codecov-action from 3.1.0 to 3.1.1 by @dependabot in #60
- Fix dimension left multiply by @deepanshs in #62
- djs/update broken links by @deepanshs in #63
- Bump codecov/codecov-action from 3.1.1 to 3.1.3 by @dependabot in #65
- djs/Method to convert csdm object with negative dimension increment to positive by @deepanshs in #66
- new reshape feature by @deepanshs in #67
- djs/Scale first point by 2 before fft by @deepanshs in #69
- djs/Support for python 3.11 by @deepanshs in #70
- Bug fix by @deepanshs in #72
- djs/Numpy feature:
np.pad
andnp.flip
by @deepanshs in #75 - Djs/Fix for NMR dimensionless frequency by @deepanshs in #76
- djs/Copy
np.frombuffer
data when loading by @deepanshs in #77 - v0.6 update release by @deepanshs in #79
Full Changelog: v0.5.0...v0.6.0
v0.5.0
What’s new
- Add support for
np.cumsum
,np.cumprod
,np.argmin
, andnp.argmax
functions to CSDM objects.
Bugfix
- Bugfix involving plot of CSDM datasets with dependent-variable quantity type of
vector_1
orpixel_1
. - Bugfix when assigning
DimensionList
/DependentVariableList
to the CSDMdimensions
anddependent_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
, andadd_y
functions of the CSDM object are removed.
v0.4.1
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
andadd_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
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
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
v0.3.1
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()
csdmpy
v0.2.2
Bug fixes
- Fixed bug where the metadata from the
csdm.application
key was not serialized
to the file when usingcsdm.save()
method.
Other changes
- Add a new diffusion tensor MRI dataset to the example gallery.
- Added
dict()
as an alias to theto_dict()
method for all objects. - Added an alias of the
cp.plot()
function to the CSDM object as the
plot()
method.