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 <ifeffit@millenia.cars.aps.anl.gov>
Date: Tuesday, October 29, 2024 at 8:26 PM
To: XAFS Analysis using Ifeffit <ifeffit@millenia.cars.aps.anl.gov>
Cc: dx...@spring8.or.jp <dx...@spring8.or.jp>
Subject: [Ifeffit] Re: larixite: a WebAtoms-like app for converting 
crystallographic information into XAS input files
Dear Matt, 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. As we know, we always 
do some
ZjQcmQRYFpfptBannerStart
This Message Is From an External Sender
This message came from outside your organization.

ZjQcmQRYFpfptBannerEnd

Dear Matt,



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.



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?





Best regards,



Fan Dongxiao,

Spring-8, Japan



----- Original Message -----

> 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_uCfscf7eWS!ZXQ2kUFpdV0HV2BeHhKF9ERcYZ6TtE1u0wvLQgHbH8NUFo5t9BrEkqK9_DUHiFFSEYT2zVxAj_OwPbKKkG8wmKam3B8j8iu9L5aw_Xk$<https://urldefense.us/v3/__https:/millenia.cars.aps.anl.gov/larixite__;!!G_uCfscf7eWS!ZXQ2kUFpdV0HV2BeHhKF9ERcYZ6TtE1u0wvLQgHbH8NUFo5t9BrEkqK9_DUHiFFSEYT2zVxAj_OwPbKKkG8wmKam3B8j8iu9L5aw_Xk$>



>

> 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_uCfscf7eWS!ZXQ2kUFpdV0HV2BeHhKF9ERcYZ6TtE1u0wvLQgHbH8NUFo5t9BrEkqK9_DUHiFFSEYT2zVxAj_OwPbKKkG8wmKam3B8j8iu9-ABau5k$<https://urldefense.us/v3/__https:/rruff.geo.arizona.edu/AMS/amcsd.php__;!!G_uCfscf7eWS!ZXQ2kUFpdV0HV2BeHhKF9ERcYZ6TtE1u0wvLQgHbH8NUFo5t9BrEkqK9_DUHiFFSEYT2zVxAj_OwPbKKkG8wmKam3B8j8iu9-ABau5k$>

) 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_uCfscf7eWS!ZXQ2kUFpdV0HV2BeHhKF9ERcYZ6TtE1u0wvLQgHbH8NUFo5t9BrEkqK9_DUHiFFSEYT2zVxAj_OwPbKKkG8wmKam3B8j8iu9VhyDroc$<https://urldefense.us/v3/__https:/github.com/xraypy/larixite__;!!G_uCfscf7eWS!ZXQ2kUFpdV0HV2BeHhKF9ERcYZ6TtE1u0wvLQgHbH8NUFo5t9BrEkqK9_DUHiFFSEYT2zVxAj_OwPbKKkG8wmKam3B8j8iu9VhyDroc$>

 (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/ifeffit.millenia.cars.aps.anl.gov/__;!!G_uCfscf7eWS!fhZnp3Ga8fGYGp65th6mm6GRHTeRZsWB24vS1vMEPh44_AHEjQyoYhfVZYO2nHMnWOGmFpTGnEJI42fhJnMO_DzXO9HlmXeX2w$<https://urldefense.us/v3/__https:/millenia.cars.aps.anl.gov/mailman3/lists/ifeffit.millenia.cars.aps.anl.gov/__;!!G_uCfscf7eWS!fhZnp3Ga8fGYGp65th6mm6GRHTeRZsWB24vS1vMEPh44_AHEjQyoYhfVZYO2nHMnWOGmFpTGnEJI42fhJnMO_DzXO9HlmXeX2w$>



> to unsubscribe, send mail to ifeffit-le...@millenia.cars.aps.anl.gov
ifeffit mailing list:  
https://millenia.cars.aps.anl.gov/mailman3/lists/ifeffit.millenia.cars.aps.anl.gov/
to unsubscribe, send mail to ifeffit-le...@millenia.cars.aps.anl.gov

Reply via email to