Re: [Ifeffit] XAS viewer unit detection during data reading

2023-02-28 Thread Matt Newville
Hi Siebe,

Just to agree with Edmund and Mauro:  selecting "energy" and changing data
type from "raw" to "XAS" should help.  But, you would have to do this for
every file, which is not ideal.

The file reader is trying to guess whether data is in energy (and if so,
what units are used) and whether it is really XAS data or some other kind
of data. I suspect that it is defaulting to "raw" because the energy column
is not labeled "energy", but "col1" -- it sort of looks like the reader is
not doing a good job of guessing what the columns mean.

Posting a file would help diagnose why it is guessing wrong.  The file
reading does try to guess what beamline a data file came from, so if you
send a file, maybe we can add enough hints for files from that beamline to
work more reliably.



On Tue, Feb 28, 2023 at 6:37 AM Welter, Edmund 
wrote:

> Dear Siebe,
>
> did you try to change the data type from "raw" to XAS. If you click on the
> small arrow on the right you should have the choice between xas and raw. On
> my computer that works and after that I can choose the unit for the X-axis.
> For some reason "raw" seems to be the preset choice. Maybe Matt could
> change that, I fell into this trap several times.
>
> Cheers,
> Edmund
>
> --
> *From: *"van der Veer, Siebe" 
> *To: *"XAFS Analysis using Ifeffit" 
> *Sent: *Tuesday, 28 February, 2023 13:16:18
> *Subject: *[Ifeffit] XAS viewer unit detection during data reading
>
> Dear all,
> I am not sure if this mailing list is the correct medium for this
> question. Apologies, if not.
>
> I am looking to import files in XAS viewer, which worked fine in ATHENA,
> but in XAS viewer the correct units of the data are not detected and I
> cannot manually change them. I can get a plot of the data, but the data is
> not recognized by the software as XAS data, i.e. a lot of
> plotting/conversion options do not show.
>
> I hope the following screenshots provide sufficient information to
> illustrate my issue.
>
> Reading in a .dat file of fluorescence data. I can't change the units in
> the marked area.
>
> [image: image.png]
>
> The data can be read into the XAS viewer, but I don't have the regular
> plotting options in these dropdown menus.
>
> [image: image.png]
>
> Any advice would be much appreciated.
>
> Kind regards,
>
>
> --
> *Siebe van der Veer* | *PhD student*
> Nanostructures of Functional Oxides | Zernike Institute for Advanced
> Materials
> University of Groningen | Nijenborgh 4, 9747 AG Groningen | The Netherlands
> Email: s.van.der.v...@rug.nl |
>
> ___
> Ifeffit mailing list
> Ifeffit@millenia.cars.aps.anl.gov
> http://millenia.cars.aps.anl.gov/mailman/listinfo/ifeffit
> Unsubscribe: http://millenia.cars.aps.anl.gov/mailman/options/ifeffit
> ___
> Ifeffit mailing list
> Ifeffit@millenia.cars.aps.anl.gov
> http://millenia.cars.aps.anl.gov/mailman/listinfo/ifeffit
> Unsubscribe: http://millenia.cars.aps.anl.gov/mailman/options/ifeffit
>


-- 
--Matt Newville  630-327-7411
___
Ifeffit mailing list
Ifeffit@millenia.cars.aps.anl.gov
http://millenia.cars.aps.anl.gov/mailman/listinfo/ifeffit
Unsubscribe: http://millenia.cars.aps.anl.gov/mailman/options/ifeffit


Re: [Ifeffit] XAS viewer unit detection during data reading

2023-02-28 Thread Mauro ROVEZZI

Dear Siebe,

In addition to the quick workaround suggested by Edmund, if you could 
send your data file to me (here or by private email), I could have a 
look why xas_viewer is not detecting the energy scale automatically.


@Edmund, usually the "xas" file type is setted automatically when the 
x-axis is identified as energy scale in the `read_ascii` function. If 
you have data files that are not detected correctly as XAS data files, 
please, do not hesitate to send them to us.


Best,
Mauro

On 28/02/2023 13:37, Welter, Edmund wrote:

Dear Siebe,

did you try to change the data type from "raw" to XAS. If you click on 
the small arrow on the right you should have the choice between xas and 
raw. On my computer that works and after that I can choose the unit for 
the X-axis. For some reason "raw" seems to be the preset choice. Maybe 
Matt could change that, I fell into this trap several times.


Cheers,
Edmund


*From: *"van der Veer, Siebe" 
*To: *"XAFS Analysis using Ifeffit" 
*Sent: *Tuesday, 28 February, 2023 13:16:18
*Subject: *[Ifeffit] XAS viewer unit detection during data reading

Dear all,
I am not sure if this mailing list is the correct medium for this 
question. Apologies, if not.


I am looking to import files in XAS viewer, which worked fine in ATHENA, 
but in XAS viewer the correct units of the data are not detected and I 
cannot manually change them. I can get a plot of the data, but the data 
is not recognized by the software as XAS data, i.e. a lot of 
plotting/conversion options do not show.


I hope the following screenshots provide sufficient information to 
illustrate my issue.


Reading in a .dat file of fluorescence data. I can't change the units in 
the marked area.


image.png

The data can be read into the XAS viewer, but I don't have the regular 
plotting options in these dropdown menus.


image.png

Any advice would be much appreciated.

Kind regards,


--
*Siebe van der Veer* | *PhD student*
Nanostructures of Functional Oxides | Zernike Institute for Advanced 
Materials

University of Groningen | Nijenborgh 4, 9747 AG Groningen | The Netherlands
Email: s.van.der.v...@rug.nl |

___
Ifeffit mailing list
Ifeffit@millenia.cars.aps.anl.gov
http://millenia.cars.aps.anl.gov/mailman/listinfo/ifeffit
Unsubscribe: http://millenia.cars.aps.anl.gov/mailman/options/ifeffit

___
Ifeffit mailing list
Ifeffit@millenia.cars.aps.anl.gov
http://millenia.cars.aps.anl.gov/mailman/listinfo/ifeffit
Unsubscribe: http://millenia.cars.aps.anl.gov/mailman/options/ifeffit

___
Ifeffit mailing list
Ifeffit@millenia.cars.aps.anl.gov
http://millenia.cars.aps.anl.gov/mailman/listinfo/ifeffit
Unsubscribe: http://millenia.cars.aps.anl.gov/mailman/options/ifeffit


Re: [Ifeffit] Ifeffit Digest, Vol 240, Issue 14

2023-02-28 Thread van der Veer, Siebe
Dear Edmund,

Thank you for the prompt reply. That did work.

Cheers,


Siebe

On Tue, Feb 28, 2023 at 1:39 PM 
wrote:

> Send Ifeffit mailing list submissions to
> ifeffit@millenia.cars.aps.anl.gov
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://millenia.cars.aps.anl.gov/mailman/listinfo/ifeffit
> or, via email, send a message with subject or body 'help' to
> ifeffit-requ...@millenia.cars.aps.anl.gov
>
> You can reach the person managing the list at
> ifeffit-ow...@millenia.cars.aps.anl.gov
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Ifeffit digest..."
>
>
> Today's Topics:
>
>1. Re: XAS viewer unit detection during data reading (Welter, Edmund)
>
>
> --
>
> Message: 1
> Date: Tue, 28 Feb 2023 13:37:03 +0100 (CET)
> From: "Welter, Edmund" 
> To: XAFS Analysis using Ifeffit 
> Subject: Re: [Ifeffit] XAS viewer unit detection during data reading
> Message-ID:
> <1505460518.63098920.1677587823196.javamail.zim...@desy.de>
> Content-Type: text/plain; charset="utf-8"
>
> Dear Siebe,
>
> did you try to change the data type from "raw" to XAS. If you click on the
> small arrow on the right you should have the choice between xas and raw. On
> my computer that works and after that I can choose the unit for the X-axis.
> For some reason "raw" seems to be the preset choice. Maybe Matt could
> change that, I fell into this trap several times.
>
> Cheers,
> Edmund
>
>
> From: "van der Veer, Siebe" 
> To: "XAFS Analysis using Ifeffit" 
> Sent: Tuesday, 28 February, 2023 13:16:18
> Subject: [Ifeffit] XAS viewer unit detection during data reading
>
> Dear all,
> I am not sure if this mailing list is the correct medium for this
> question. Apologies, if not.
>
> I am looking to import files in XAS viewer, which worked fine in ATHENA,
> but in XAS viewer the correct units of the data are not detected and I
> cannot manually change them. I can get a plot of the data, but the data is
> not recognized by the software as XAS data, i.e. a lot of
> plotting/conversion options do not show.
>
> I hope the following screenshots provide sufficient information to
> illustrate my issue.
>
> Reading in a .dat file of fluorescence data. I can't change the units in
> the marked area.
>
>
>
> The data can be read into the XAS viewer, but I don't have the regular
> plotting options in these dropdown menus.
>
>
>
> Any advice would be much appreciated.
>
> Kind regards,
>
>
> --
> Siebe van der Veer | PhD student
> Nanostructures of Functional Oxides | Zernike Institute for Advanced
> Materials
> University of Groningen | Nijenborgh 4, 9747 AG Groningen | The
> Netherlands
> Email: [ mailto:s.van.der.v...@rug.nl | s.van.der.v...@rug.nl ] |
>
> ___
> Ifeffit mailing list
> Ifeffit@millenia.cars.aps.anl.gov
> http://millenia.cars.aps.anl.gov/mailman/listinfo/ifeffit
> Unsubscribe: http://millenia.cars.aps.anl.gov/mailman/options/ifeffit
> -- next part --
> An HTML attachment was scrubbed...
> URL: <
> http://millenia.cars.aps.anl.gov/pipermail/ifeffit/attachments/20230228/95a7c1e9/attachment.htm
> >
> -- next part --
> A non-text attachment was scrubbed...
> Name: image.png
> Type: image/png
> Size: 64865 bytes
> Desc: not available
> URL: <
> http://millenia.cars.aps.anl.gov/pipermail/ifeffit/attachments/20230228/95a7c1e9/attachment.png
> >
> -- next part --
> A non-text attachment was scrubbed...
> Name: image.png
> Type: image/png
> Size: 7781 bytes
> Desc: not available
> URL: <
> http://millenia.cars.aps.anl.gov/pipermail/ifeffit/attachments/20230228/95a7c1e9/attachment-0001.png
> >
>
> --
>
> Subject: Digest Footer
>
> ___
> Ifeffit mailing list
> Ifeffit@millenia.cars.aps.anl.gov
> http://millenia.cars.aps.anl.gov/mailman/listinfo/ifeffit
> Unsubscribe: http://millenia.cars.aps.anl.gov/mailman/options/ifeffit
>
>
> --
>
> End of Ifeffit Digest, Vol 240, Issue 14
> 
>
___
Ifeffit mailing list
Ifeffit@millenia.cars.aps.anl.gov
http://millenia.cars.aps.anl.gov/mailman/listinfo/ifeffit
Unsubscribe: http://millenia.cars.aps.anl.gov/mailman/options/ifeffit


Re: [Ifeffit] XAS viewer unit detection during data reading

2023-02-28 Thread Welter, Edmund
Dear Siebe, 

did you try to change the data type from "raw" to XAS. If you click on the 
small arrow on the right you should have the choice between xas and raw. On my 
computer that works and after that I can choose the unit for the X-axis. For 
some reason "raw" seems to be the preset choice. Maybe Matt could change that, 
I fell into this trap several times. 

Cheers, 
Edmund 


From: "van der Veer, Siebe"  
To: "XAFS Analysis using Ifeffit"  
Sent: Tuesday, 28 February, 2023 13:16:18 
Subject: [Ifeffit] XAS viewer unit detection during data reading 

Dear all, 
I am not sure if this mailing list is the correct medium for this question. 
Apologies, if not. 

I am looking to import files in XAS viewer, which worked fine in ATHENA, but in 
XAS viewer the correct units of the data are not detected and I cannot manually 
change them. I can get a plot of the data, but the data is not recognized by 
the software as XAS data, i.e. a lot of plotting/conversion options do not 
show. 

I hope the following screenshots provide sufficient information to illustrate 
my issue. 

Reading in a .dat file of fluorescence data. I can't change the units in the 
marked area. 



The data can be read into the XAS viewer, but I don't have the regular plotting 
options in these dropdown menus. 



Any advice would be much appreciated. 

Kind regards, 


-- 
Siebe van der Veer | PhD student 
Nanostructures of Functional Oxides | Zernike Institute for Advanced Materials 
University of Groningen | Nijenborgh 4, 9747 AG Groningen | The Netherlands 
Email: [ mailto:s.van.der.v...@rug.nl | s.van.der.v...@rug.nl ] | 

___ 
Ifeffit mailing list 
Ifeffit@millenia.cars.aps.anl.gov 
http://millenia.cars.aps.anl.gov/mailman/listinfo/ifeffit 
Unsubscribe: http://millenia.cars.aps.anl.gov/mailman/options/ifeffit 
___
Ifeffit mailing list
Ifeffit@millenia.cars.aps.anl.gov
http://millenia.cars.aps.anl.gov/mailman/listinfo/ifeffit
Unsubscribe: http://millenia.cars.aps.anl.gov/mailman/options/ifeffit


[Ifeffit] XAS viewer unit detection during data reading

2023-02-28 Thread van der Veer, Siebe
Dear all,

I am not sure if this mailing list is the correct medium for this question.
Apologies, if not.

I am looking to import files in XAS viewer, which worked fine in ATHENA,
but in XAS viewer the correct units of the data are not detected and I
cannot manually change them. I can get a plot of the data, but the data is
not recognized by the software as XAS data, i.e. a lot of
plotting/conversion options do not show.

I hope the following screenshots provide sufficient information to
illustrate my issue.

Reading in a .dat file of fluorescence data. I can't change the units in
the marked area.

[image: image.png]

The data can be read into the XAS viewer, but I don't have the regular
plotting options in these dropdown menus.

[image: image.png]

Any advice would be much appreciated.

Kind regards,


-- 
*Siebe van der Veer* | *PhD student*
Nanostructures of Functional Oxides | Zernike Institute for Advanced
Materials
University of Groningen | Nijenborgh 4, 9747 AG Groningen | The Netherlands
Email: s.van.der.v...@rug.nl |
___
Ifeffit mailing list
Ifeffit@millenia.cars.aps.anl.gov
http://millenia.cars.aps.anl.gov/mailman/listinfo/ifeffit
Unsubscribe: http://millenia.cars.aps.anl.gov/mailman/options/ifeffit