#787623 Regression: Wrong x-axis for import of SPECS .xy files

Package:
fityk
Source:
fityk
Description:
general-purpose nonlinear curve fitting and data analysis
Submitter:
Matthias May
Date:
2015-06-03 15:12:08 UTC
Severity:
important
#787623#5
Date:
2015-06-03 12:52:17 UTC
From:
To:
Dear Maintainer,

when opening one of the standard input file formats (SPECS .xy file), the
energy (x-) axis gets reversed:

If the input file is in binding energy, the x-axis is not taken as-is, but the
photon energy is subtracted, which reverses the axis. It does work properly, if
the input file has the x-axis as kinetic energy. So probably, the parameter
"Kinetic Energy Axis: yes/no" in the header is ignored.

This is a regression from the version 0.9.8-3 in Wheezy, where the import of
spectra with binding energy axis ("Kinetic Energy Axis: no") worked properly.

In the attached file "example.xy", the displayed x-axis should be from 119.87
to 139.87, and not 1340-1360 range.

Regards,

Matthias

#787623#10
Date:
2015-06-03 15:09:01 UTC
From:
To:
Hi Matthias,
support for this file format is relatively new, previously it was read
as generic data file.
Actually the files are read in xylib library, which is a separate
package in debian, but it's better to file a bug report upstream:
https://github.com/wojdyr/xylib/

As a workaround you may open specs file from the input line with
explicit "text" format:
@+ <'/run/mw/example.xy' text

Thanks for reporting it, I'll pass it to Matthias Richter who knows
more than me about this format

Marcin