Dear Matt Newville and Mauro,
Many thanks for the kind reply and great support in installation of the XrayLarch through window. Unfortunately, I could not install through Anaconda prompt using command " conda install -yc conda-forge wxpython tomopy scipy matplotlib scikit-image scikit-learn pymatgen pycifrw pip install wxmplot wxutils lmfit asteval pyshortcuts pyfai xraylarch" as suggested by Mauro. Fortunately I succeeded to install through window command prompt using the source code. Now I am using through VS Studio code.
I just adopted the code for wavelet transformation written by Matt Newville, however, I faced some problem in plotting the 2D CCWT image, I am sharing the code with input data and also the code. Its showing some error in following syntax, probably "imopts" has problem:
plt.imshow(f.wcauchy_mag, win=1, label='Wavelet Transform: Magnitude', **imopts)
plt.imshow(f.wcauchy_re, win=2, label='Wavelet Transform: Real Part', **imopts)
If you kindly help me in this regard, I will be grateful to you.
Thank you in advance
Best regards
Latif
-----Original Message-----
From: Ifeffit On Behalf Of ifeffit-request@millenia.cars.aps.anl.gov
Sent: Wednesday, December 15, 2021 6:08 PM
To: ifeffit@millenia.cars.aps.anl.gov
Subject: Ifeffit Digest, Vol 226, Issue 9
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: Problem in xrayLarch installation (Matt Newville)
2. Re: Any coorelation about 'white line" in K-edge XAS with
oxidation states? (Robert Gordon)
----------------------------------------------------------------------
Message: 1
Date: Wed, 15 Dec 2021 09:23:47 -0600
From: Matt Newville
To: XAFS Analysis using Ifeffit
Cc: "Ifeffit-request@millenia.cars.aps.anl.gov"
Subject: Re: [Ifeffit] Problem in xrayLarch installation
Message-ID:
Content-Type: text/plain; charset="utf-8"
Hi Latif,
Sorry for the trouble. As Mauro said, some of the packages needed (and pymatgen is one of these) are not super-well supported for installing with pip.
FWIW, I agree that the needed combination of conda and pip is sort of unfortunate. But most of the "problem packages" are either Windowing systems (wxPython: that have been challenging to have consistent binary support on Linux is very challenging) or packages of scientific code written by and for scientists, some with excellent engineering support and
some (like us!) with "less" support. Conda is a popular option for many
of these. We try to support the simpler / more ubiquitous pip where we can.
Anyway, that's basically why we have the binary installers and installation scripts. But also: thanks for the report and we are trying to clean up or at least document some of these kinds of issues where we can:
https://github.com/xraypy/xraylarch/issues/333
--Matt