StollLab / EasySpin

MATLAB toolbox for Electron Paramagnetic Resonance (EPR) spectroscopy
http://easyspin.org
MIT License
48 stars 25 forks source link

Is the output of ES core pepper and other functions stored in rows? #319

Closed cerium1925 closed 4 months ago

cerium1925 commented 9 months ago
image

According to the original data storage logic of maltab, ES will obviously store in columns much faster, especially when functions such as pepper are called repeatedly.

stestoll commented 4 months ago

The time needed to allocate and assign the output spectral data array in pepper is negligible compared to the actual calculation.

pepper always returns the field dimension along the row of the spectral data array. If separate transitions were requested, pepperreturns a 2D array with one transition spectrum per row.