Hi Bruce,
Sorry if I insisted, didn't mean to be rude.
By the way the solution you proposed is exactly what I meant and I thank you.
Anyways if you're going to implement this in the new release, personally I would prefer to have the mu(E) data in the .chi saved file as it simplifies my work. Don't know if it is the same to everybody.

Thank you very much and have a good Easter
Matteo Busi, UiS

2016-03-11 19:00 GMT+01:00 <ifeffit-request@millenia.cars.aps.anl.gov>:
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-request@millenia.cars.aps.anl.gov

You can reach the person managing the list at
        ifeffit-owner@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: Exporting Athena projects data (Bruce Ravel)
   2. Re: Exporting Athena projects data (Bruce Ravel)


----------------------------------------------------------------------

Message: 1
Date: Fri, 11 Mar 2016 08:57:50 -0500
From: Bruce Ravel <bravel@bnl.gov>
To: XAFS Analysis using Ifeffit <ifeffit@millenia.cars.aps.anl.gov>
Subject: Re: [Ifeffit] Exporting Athena projects data
Message-ID: <56E2CEDE.3040803@bnl.gov>
Content-Type: text/plain; charset=windows-1252; format=flowed

On 03/11/2016 06:52 AM, Matteo Busi wrote:
> Hi Bruce I'm sending this again, probably the latest message was lost in
> the confusion.

Or ... perhaps ... I've been really busy lately.

I understand what you are looking for and will have a solution for you
soon, once I get some other, more pressing things done.

B

> I would like to have an output file containing chi(E) and mu(E) using the
> same energy (E) grid.
> If I export them separately ( the only available way I think right now)
> they have
> different energy grid.
>
> The previous messaging was:
>> Hi Mateo,
>
>> I'm not quite clear on what you are asking for.  Do you want an ascii
>> output file that has a column containing chi(E) using the energy grid of
>> the original data?
>
>> If so, would it suffice to add a column to the mu(E) ascii output file?
>>  That seems to me like a natural solution.
>
>>Cheers,
>>B
>
> Thanks and Regards
> Matteo, UiS
>
>
>
>
> _______________________________________________
> 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
>


--
  Bruce Ravel  ------------------------------------ bravel@bnl.gov

  National Institute of Standards and Technology
  Synchrotron Science Group at NSLS-II
  Building 535A
  Upton NY, 11973

  Homepage:    http://bruceravel.github.io/home/
  Software:    https://github.com/bruceravel
  Demeter:     http://bruceravel.github.io/demeter/


------------------------------

Message: 2
Date: Fri, 11 Mar 2016 11:56:22 -0500
From: Bruce Ravel <bravel@bnl.gov>
To: XAFS Analysis using Ifeffit <ifeffit@millenia.cars.aps.anl.gov>
Subject: Re: [Ifeffit] Exporting Athena projects data
Message-ID: <56E2F8B6.7060508@bnl.gov>
Content-Type: text/plain; charset=windows-1252; format=flowed


Matteo,

A fully correct solution to this will have to wait until the next
release, but I can offer a partial solution which you can implement
immediately.

Locate the file
"perl\site\lib\Demeter\templates\process\ifeffit\save_xmu.tmpl" in
whatever location Demeter was installed on your computer.

Grab this:

https://raw.githubusercontent.com/bruceravel/demeter/master/lib/Demeter/templates/process/ifeffit/save_xmu.tmpl

and replace the previous "save_xmu.tmpl".  When you download the
replacement, be sure that its filename is "save_xmu.tmpl" and that
your browser does not "helpfully" add a .txt extension.

When you next save current group as mu(E), there will be an additional
column which contains the chi(E) on the grid of the original data.
That column will be 0 below the lower bound of the spline range and
above the upper bound of the spline range (i.e. in the energy range
over which chi is not defined).  It is un-k-weighted.  If you want to
look at k-weighted chi(E), /you/ will have to apply the k-weighting
/yourself/.

I think that addresses your request.  Let me know what you think.

B


On 03/11/2016 06:52 AM, Matteo Busi wrote:
> Hi Bruce I'm sending this again, probably the latest message was lost in
> the confusion.
>
> I would like to have an output file containing chi(E) and mu(E) using the
> same energy (E) grid.
> If I export them separately ( the only available way I think right now)
> they have
> different energy grid.
>
> The previous messaging was:
>> Hi Mateo,
>
>> I'm not quite clear on what you are asking for.  Do you want an ascii
>> output file that has a column containing chi(E) using the energy grid of
>> the original data?
>
>> If so, would it suffice to add a column to the mu(E) ascii output file?
>>  That seems to me like a natural solution.
>
>>Cheers,
>>B
>
> Thanks and Regards
> Matteo, UiS
>
>
>
>
> _______________________________________________
> 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
>


--
  Bruce Ravel  ------------------------------------ bravel@bnl.gov

  National Institute of Standards and Technology
  Synchrotron Science Group at NSLS-II
  Building 535A
  Upton NY, 11973

  Homepage:    http://bruceravel.github.io/home/
  Software:    https://github.com/bruceravel
  Demeter:     http://bruceravel.github.io/demeter/


------------------------------

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 157, Issue 9
***************************************