larixite: a WebAtoms-like app for converting crystallographic information into XAS input files
Hi Folks, As some of you have noticed, the WebAtoms application stopped working on millenia.cars.aps.anl.gov a month or so ago. We now have a start of an alternative at https://urldefense.us/v3/__https://millenia.cars.aps.anl.gov/larixite__;!!G_... This uses PyMatGen to convert CIF files into Feff.inp files. This includes a simple searchable interface to data collected from the American Mineralogist Crystal Structure Database (https://urldefense.us/v3/__https://rruff.geo.arizona.edu/AMS/amcsd.php__;!!G... ) of published mineral structures that has been included in xraylarch for some time. You can upload a CIF file – and most should work. We expect to be able to add inputs for FDMNES soon, and we’re looking into formats for other calculations (say, Ocean) as well. On a practical note, we thought it would be best to pull this code out of the main Larch repository and start a fresh project just for “working with crystallographic information and atomic clusters to generate inputs for XAS calculations”. This code is now under https://urldefense.us/v3/__https://github.com/xraypy/larixite__;!!G_uCfscf7e... (and does not rely on the larger xraylarch package). At some point soon we plan to remove this code from xraylarch itself and use this project for that functionality. This is all sort of new, so suggestions on any part of this and bug reports are most welcome. --Matt
Fan,
There are pretty simple methods to modify the Feff input file. Dopants can be inserted into any sites you desire once the file is created. The input file contains a large list of all the surrounding neighbors and their bond distances, so just replace those neighbors with dopant elements. The only additional step would be to add the dopant to the list of unique potentials however, I do believe there is a hard limit to the number of unique potentials available (8..?)
Chris
On Oct 29, 2024, at 9:25 PM, Dongxiao Fan via Ifeffit
Hi Folks,
As some of you have noticed, the WebAtoms application stopped working on millenia.cars.aps.anl.gov<https://urldefense.us/v3/__http://millenia.cars.aps.anl.gov/__;!!G_uCfscf7eW... > a month or so ago. We now have a start of an alternative at https://urldefense.us/v3/__https://millenia.cars.aps.anl.gov/larixite__;!!G_...
This uses PyMatGen to convert CIF files into Feff.inp files. This
includes a simple searchable interface to data collected from the American Mineralogist Crystal Structure Database (https://urldefense.us/v3/__https://rruff.geo.arizona.edu/AMS/amcsd.php__;!!G... ) of published mineral structures that has been included in xraylarch for some time. You can upload a CIF file – and most should work.
We expect to be able to add inputs for FDMNES soon, and we’re looking
into formats for other calculations (say, Ocean) as well. On a practical note, we thought it would be best to pull this code out of the main Larch repository and start a fresh project just for “working with crystallographic information and atomic clusters to generate inputs for XAS calculations”. This code is now under https://urldefense.us/v3/__https://github.com/xraypy/larixite__;!!G_uCfscf7e... (and does not rely on the larger xraylarch package). At some point soon we plan to remove this code from xraylarch itself and use this project for that functionality.
This is all sort of new, so suggestions on any part of this and bug
reports are most welcome.
--Matt
ifeffit mailing list: https://urldefense.us/v3/__https://millenia.cars.aps.anl.gov/mailman3/lists/...
to unsubscribe, send mail to ifeffit-leave@millenia.cars.aps.anl.govmailto:ifeffit-leave@millenia.cars.aps.anl.gov
ifeffit mailing list: https://urldefense.us/v3/__https://millenia.cars.aps.anl.gov/mailman3/lists/... to unsubscribe, send mail to ifeffit-leave@millenia.cars.aps.anl.govmailto:ifeffit-leave@millenia.cars.aps.anl.gov
Hi Dongxiao,
Thank you very much for the great work of Larixite.
Can I propose a function for creating input files of FEFF or FDMNES?
This function may be not realistic to achieve but can be very helpful if we have.
It can already create FEFF input files, either from the web app or from the programming library (poorly documented at the moment) with ``` from larixite import cif2feffinp # read text of CIF file cif_text = open(“MyCIFFIle.cif’).read() feffinp = cif2feffinp(cif_text, absorber=’Pt’, edge=’L3’, cluster_size=7.5) ``` This uses a template that can be modified if you want to change some of the other parameters in the FEFF input file Generating FDMNES input is high on the list. It’s already started by Mauro Rovezzi, et al at ESRF/ Univ Grenoble / CNRS. There is existing code in Larch for this, but it needs a small amount of porting work to work with the latest code and the website. There have also been discussions about generating inputs for Ocean and other XAS/DFT calculations.
As we know, we always do some doping to alter the physical property of materials.
The doping are randomly distributed on the lattice site. And the kind of doping atoms can be one, two, three,...
In the extreme condition, many kinds of doping atoms are put into the
host and the material becomes high-entropy alloy, which is now widely
studied by XAFS (HERFD technique, to overcome the multiple edge problem).
Can you induce the function that can be used to edit the ATOMS part of
the FEFF input file to introduce one or multiple doping atoms in the
lattice and these doping can be randomly distributed?
Chris gave a nice answer for this. I’ll add that many of the structures from AMCSD have sites with mixed occupancy. These are handled by randomly selecting based on the stated occupancy.
If you edit a CIF file to have partial occupancy (using one of the existing ones as a guide, though editing CIF by hand is not for the feint of heart), you can upload and use that too. I’m sure that could also be done completely with Pymatgen Structures, though I’ve not ever done that myself.
And, as Chris said, it is definitely OK to edit the resulting feff.inp file yourself, say to change the absorbing atom to a dopant species.
--Matt
From: Dongxiao Fan via Ifeffit
Hi Folks,
As some of you have noticed, the WebAtoms application stopped working
on millenia.cars.aps.anl.gov a month or so ago. We now have a start of an alternative at https://urldefense.us/v3/__https://millenia.cars.aps.anl.gov/larixite__;!!G_...https://urldefense.us/v3/__https:/millenia.cars.aps.anl.gov/larixite__;!!G_u...
This uses PyMatGen to convert CIF files into Feff.inp files. This
includes a simple searchable interface to data collected from the American Mineralogist Crystal Structure Database (https://urldefense.us/v3/__https://rruff.geo.arizona.edu/AMS/amcsd.php__;!!G...https://urldefense.us/v3/__https:/rruff.geo.arizona.edu/AMS/amcsd.php__;!!G_... ) of published mineral structures that has been included in xraylarch for some time. You can upload a CIF file – and most should work.
We expect to be able to add inputs for FDMNES soon, and we’re looking
into formats for other calculations (say, Ocean) as well. On a practical note, we thought it would be best to pull this code out of the main Larch repository and start a fresh project just for “working with crystallographic information and atomic clusters to generate inputs for XAS calculations”. This code is now under https://urldefense.us/v3/__https://github.com/xraypy/larixite__;!!G_uCfscf7e...https://urldefense.us/v3/__https:/github.com/xraypy/larixite__;!!G_uCfscf7eW... (and does not rely on the larger xraylarch package). At some point soon we plan to remove this code from xraylarch itself and use this project for that functionality.
This is all sort of new, so suggestions on any part of this and bug
reports are most welcome.
--Matt
ifeffit mailing list: https://urldefense.us/v3/__https://millenia.cars.aps.anl.gov/mailman3/lists/...https://urldefense.us/v3/__https:/millenia.cars.aps.anl.gov/mailman3/lists/i...
to unsubscribe, send mail to ifeffit-leave@millenia.cars.aps.anl.gov
participants (3)
-
Christopher Patridge
-
dxfan@spring8.or.jp
-
Matthew Newville