https://github.com/tsdev/specnd
specnd multidimensional data analysis toolbox
https://github.com/tsdev/specnd
Last synced: 5 months ago
JSON representation
specnd multidimensional data analysis toolbox
- Host: GitHub
- URL: https://github.com/tsdev/specnd
- Owner: tsdev
- License: gpl-2.0
- Created: 2014-10-18T15:14:39.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2017-08-09T07:33:19.000Z (almost 9 years ago)
- Last Synced: 2025-06-20T23:44:58.919Z (about 1 year ago)
- Language: Matlab
- Size: 78.1 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
specnd *[spekendi:]*
======
**specnd** is a multidimensional data analysis toolbox for Matlab® with error and multiple data channel handling
Features:
=======
* event mode and grid mode
* count/monitor mode and value/error mode and automatic conversion
* multiple channels to store different data values for the same coordinates
* stores measurement parameters
* can include a metric tensor to represent reciprocal space
* flexible plotting, import, export functions
* optimised for speed and flexibility (and to treat large datasets not fitting into the memory)
* simple internal data structure, easily accessible
* includes physical units along every axis with automatic conversion
* syntax is optimized for command line usage
Examples:
=======
**data binning/rebinning/summation:**
**D = D(V1,V2)** rebins a 2 dimensional data, bin points are stored in V1 and V2 vectors
**D = D(:,[ymin ymax])** sums the data along the 2nd dimension between ymin and ymax
**data integration:**
**D = integrate(D,2)** integrates the data along the 2nd dimension (includes dy)
**append/combine data:**
**D = [D1 D2]** combines data
**D = [D1; D2; D3]** creates a higher dimensional data with a new axis
**access channel:**
**D = D{idx}** keeps only a single channel with idx index
**D = {D1 D2}** stores two datasets in one as separate channels
**transformation:**
**D = calc(D,@fun)** calculates data values from the old data values
**D = eval(D,@fun)** simulates data for the given coordinates using @fun
**D = transform(D,@fun,dims)** transforms coordinates of given dimensions using @fun
**D = transform(D,R)** linear transformation of coordinates with R matrix including metric tensor
**import:**
**D=loads(‘data[11:28]’,@fun,’X=H, Y=K, Z=L, D=det1, M=mon2’)** loads 3D data in (h,k,l)
**plot:**
**plot(D,dims)** plots data along selected dimensions, overplots additional dimensions