I heard rumours that the source code of Easyspin will be published soon. Is this true? If so, at which time is this planned?
Thanks for your help
Charles
Easyspin source code
-
- EasySpin Creator
- Posts: 1108
- Joined: Mon Jul 21, 2014 10:11 pm
- Location: University of Washington
Re: Easyspin source code
There is no explicit time frame for this. We anticipate 2017.
Re: Easyspin source code
Are there any updates on this? I'm trying to develop a Python script to mimic eprload to use on a Raspberry Pi, but have had trouble decoding the .SPC files.
Re: Easyspin source code
As I know, SPC file is a simple sequence or 4-byte floating point values. All other data are in the PAR file which is ASCII text.
-
- EasySpin Creator
- Posts: 1108
- Joined: Mon Jul 21, 2014 10:11 pm
- Location: University of Washington
Re: Easyspin source code
The PAR/SPC format changed quite a bit over time, depending whether you look at ESP data, WinEPR data, etc.
Here are a few snippets that should help. Little vs. big endian can make a difference:
The data could be complex or 2D:
The file type determines the number type in SPC:
Here are a few snippets that should help. Little vs. big endian can make a difference:
Code: Select all
% For DOS ByteOrder is ieee-le, in all other cases ieee-be
if isfield(Parameters,'DOS')
Endian = 'ieee-le';
FileType = 'w';
else
Endian = 'ieee-be';
end
Code: Select all
% Analyse data type flags stored in JSS.
if isfield(Parameters,'JSS')
Flags = sscanf(Parameters.JSS,'%f');
isComplex = bitget(Flags,5);
TwoD = bitget(Flags,13);
end
Code: Select all
% FileType: flag for specific file format
% w Windows machines, WinEPR
% c ESP machines, cw EPR data
% p ESP machines, pulse EPR data
% Set number format
switch FileType
case 'c', NumberFormat = 'int32';
case 'w', NumberFormat = 'float'; % WinEPR/Simfonia: single float
case 'p', NumberFormat = 'int32'; % old: 'float'
end
Re: Easyspin source code
Are there any new plans to make the source code of Easyspin available as open source software?
Is it planed to port Easyspin to freely available frameworks like Python/Numpy ?
Is it planed to port Easyspin to freely available frameworks like Python/Numpy ?
-
- EasySpin Creator
- Posts: 1108
- Joined: Mon Jul 21, 2014 10:11 pm
- Location: University of Washington
Re: Easyspin source code
We are working on making the EasySpin source code openly accessible.
Regarding Python/Numpy, there are currently no plans. It would a significant effort, and we unfortunately don't have the bandwidth to do that.
Regarding Python/Numpy, there are currently no plans. It would a significant effort, and we unfortunately don't have the bandwidth to do that.