Search found 27 matches

by bruin
Wed May 15, 2024 5:17 am
Forum: EasySpin file exchange
Topic: cwEPR App for processing, simulating, and fitting CW EPR data
Replies: 53
Views: 128754

Re: cwEPR App for processing, simulating, and fitting CW EPR data

Updated version, which now seems to be fully functional, also when disabling the esfit FitGUI:

cwEPR_corrected3.m
(279.2 KiB) Downloaded 11 times

I haven't tested fitting without the FitGUI extensively, but as far as I can judge right now everything works as intended.

by bruin
Wed May 15, 2024 5:13 am
Forum: EasySpin file exchange
Topic: cwEPR App for processing, simulating, and fitting CW EPR data
Replies: 53
Views: 128754

Re: cwEPR App for processing, simulating, and fitting CW EPR data

Small update: It seems that the remaining problems occuring when with disabling the FitGUI are easy to solve: Change line 4384 [pars,app.data.fitspc,~]=esfit(spc(:,app.currslice), @app.custom_fittwomethods, {Sys, Exp, Opt}, {Vary}, FitOpt); into pars=esfit(spc(:,app.currslice), @app.custom_fittwomet...
by bruin
Tue May 14, 2024 5:40 am
Forum: EasySpin file exchange
Topic: cwEPR App for processing, simulating, and fitting CW EPR data
Replies: 53
Views: 128754

Re: cwEPR App for processing, simulating, and fitting CW EPR data

A fully working version of the cwEPR app compatible with the stable verson of EasySpin 6.0.0 can be downloaded here: cwEPR_corrected2.m Copyright Information: See original download location I do have a matlab app install file available for those interested, but those files apparently cannot be uploa...
by bruin
Tue May 14, 2024 5:18 am
Forum: EasySpin file exchange
Topic: cwEPR App for processing, simulating, and fitting CW EPR data
Replies: 53
Views: 128754

Re: cwEPR App for processing, simulating, and fitting CW EPR data

Thanks Ernesto Meanwhile I also managed to fix the problem with "get esfit fit1" (with 4 or more hyperfines not being imported). The section from line 528 until "function [vary]=getvarys(~,varypars,t)" needs to be replaced by the following lines to fix the problem: function sysls...
by bruin
Fri Apr 19, 2024 6:54 am
Forum: EasySpin file exchange
Topic: cwEPR App for processing, simulating, and fitting CW EPR data
Replies: 53
Views: 128754

Re: cwEPR App for processing, simulating, and fitting CW EPR data

Dear Thomas, I can't find how to load FitOpt values. I don't understand to code well-enough to fix this. I noticed another error: The "get esfit 'fit1' button works, but if there are more than 3 HFI's in the "fit1.argsfit{1, 1}.A matrix, the app decides not to load any HFI's anymore and lo...
by bruin
Tue Apr 09, 2024 1:10 pm
Forum: EasySpin file exchange
Topic: cwEPR App for processing, simulating, and fitting CW EPR data
Replies: 53
Views: 128754

Re: cwEPR App for processing, simulating, and fitting CW EPR data

Dear Thomas, I looked closer at the EasySpin changes and the code, and the most important functionality of cwEPR can be relatively easily restored. It seems that the rescaling problem is caused by the fact that "rescaledata" does not support "minmax, lsq0, lsq1" The baseline corr...
by bruin
Tue Apr 09, 2024 9:03 am
Forum: EasySpin file exchange
Topic: cwEPR App for processing, simulating, and fitting CW EPR data
Replies: 53
Views: 128754

Re: cwEPR App for processing, simulating, and fitting CW EPR data

Dear Thomas, Unfortunately your cwEPR app no longer works properly with the new stable version 6.0.0 of Easyspin. Some errors I encountered (so far) are: Rescale minmax does not seem to be supported any more esfit gives the error "Unknown setting for Opt.AutoScale - possible values are 'lsq', '...
by bruin
Sun Oct 02, 2022 2:08 am
Forum: EasySpin file exchange
Topic: cwEPR App for processing, simulating, and fitting CW EPR data
Replies: 53
Views: 128754

Re: cwEPR App for processing, simulating, and fitting CW EPR data

Dear Thomas,

If I'm not mistaken, the solution is easy.

Replacing line 4295
sysstrct=evalin('base','fit1.Sys');
by
sysstrct=evalin('base','fit1.argsfit{1, 1}');
seems to solve the problem:

Could you please check? Thanks a lot!

With best regards,
Bas

by bruin
Sun Oct 02, 2022 12:44 am
Forum: EasySpin file exchange
Topic: cwEPR App for processing, simulating, and fitting CW EPR data
Replies: 53
Views: 128754

Re: cwEPR App for processing, simulating, and fitting CW EPR data

Dear Thomas, Thanks for the new version! And sorry for my late reply. I meanwhile tested v3.3.6.47. Fitting works now! Thanks! There is however one remaining problem: Tools --> get esfit 'fit1' This doesn't seem to work and gives an error (Unrecognized field name "Sys") If you have some ti...