StollLab / EasySpin

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

hccm function bug #274

Closed cerium1925 closed 1 year ago

cerium1925 commented 1 year ago
Screenshot 2022-12-18 210226 Screenshot 2022-12-18 210242

Dot product?

stestoll commented 1 year ago

This error says that your computer does not have enough memory to accommodate the requested calculation.

J has size [n p], where n is the number of data points, and p is the number of fitting parameters. pinvJTJ has size [p p].

It's not clear how you can get a 65536x65536 matrix size. What is n and p in your case?

cerium1925 commented 1 year ago

I provide one simulation data and one real test data. using esft function to Extract EPR parameters. Reference Data.zip

SImdata: Al#1;

real test_data: 2CSP-001-130K;

stestoll commented 1 year ago

Please provide a complete concise script that generates the error.

cerium1925 commented 1 year ago

Al_#1.txt

stestoll commented 1 year ago

Thanks, I can reproduce this now. Looks like some memory waste in hccm, easy to improve.