Forum: Forums topas RSS
Update *.nff file in '/ssf' folder
kipil #1
Member for a month · 5 posts
Group memberships: Members
Show profile · Link to this post
Subject: Update *.nff file in '/ssf' folder
Hi all,

I prepared new '*.nff' with more details, and would like to update in the '/ssf' folder. I replaced an old file 'nff' file to the new 'nff' file, but the TOPAS6 program (academic version) still use the old 'nff' file, even though I moved it to the other folder.

Is there a way to make the program recognize new 'nff' file?

Thanks,
Kipil
AlanCoelho #2
Member since Aug 2011 · 238 posts
Group memberships: Members
Show profile · Link to this post
If the program can't find the NFF file then it uses fixed wavelength coefficients corresponding to the nearest energy; a message, similar to the following,  is displayed:

   Using fixed wavelength dispersion coefficients for atom…

The ‘str’ dependent keyword ‘report_on_str’ can be used to display the f’ and f’’ used for all atoms in the structure.

If you get stuck then send me your INP and data file and I will have a look.
kipil #3
Member for a month · 5 posts
Group memberships: Members
Show profile · Link to this post
Thanks for your reply!

Yes, I had that message. The format of my new nff file was wrong, and the program calculate coefficients rather than reading the new nff file. Now I solve the problem.

I have one more question. I am using absorption correction function in the resonant diffraction refinement. I found that 'mixture_MAC' value is not calculated by new nff file. I found that it is calculated from the file in '/mac' folder.
 Is there a way to report f' and f'' value from the given wavelength? Then I can calculate correct 'mixture_MAC' value from those.

Thanks,
Kipil
This post was edited on 2018-07-27, 04:22 by kipil.
rowlesmr #4
Member since Oct 2011 · 159 posts
Group memberships: Members
Show profile · Link to this post
Hi Kipil


You can also set the f' and f'' values in the input file.

Look up the f0_f1_f11_atom, f0, f1, and f11 keywords in the TechRef.

Matthew
--
Matthew
kipil #5
Member for a month · 5 posts
Group memberships: Members
Show profile · Link to this post
Hi Matthew,

Thanks for your comment. My refinement has another issue. I know the exact lattice parameter of my material, but the energy is not defined. So I refine the energy of the X-ray to the lattice parameter. The f' and f'' are so sensitive to the energy as I measured several diffraction patterns across the edge, for the resonant diffraction. This is a reason why I want to get the f' and f'' value from the Topas program rather than giving the value.

Kipil
AlanCoelho #6
Member since Aug 2011 · 238 posts
Group memberships: Members
Show profile · Link to this post
Hi Kipil

The report_on_str keyword outputs the f' and f'' (for version 6). Including the keyword for CeO2 gives:


      • f1 and f11 values for CeO2 ***
   Ce+4 -1.81997611 10.0820179
   O-2 0.0523209357 0.0337069703


cheers
alan
kipil #7
Member for a month · 5 posts
Group memberships: Members
Show profile · Link to this post
Thanks Alan,

I would like to use those value (f1 and f11) during the refinement, using f11 value for absorption calibration instead of 'mixture_MAC' value. Can you please let me know if there is a way to call those value in the .inp file?

To be clear, what I would like to know is whether I can record f11 value to other parameters for additional calculation.
Ex) prm !absorption =Get(f11);

Thanks,
Kipil
AlanCoelho #8
Member since Aug 2011 · 238 posts
Group memberships: Members
Show profile · Link to this post
>what I would like to know is whether I can record f11 value to other
>parameters for additional calculation.
>Ex) prm !absorption =Get(f11);

You would need to explicitly define f11 and then give it a parameter name; ie.

   load f0_f1_f11_atom f11 {
          Pb+2
       pb_f11 5 ' this is f11 for Pb
   }

The parameter name pb_f11 can then be used in equations.
kipil #9
Member for a month · 5 posts
Group memberships: Members
Show profile · Link to this post
Thanks so much Alan!
Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please enter the word from the image into the text field below. (Type the letters only, lower case is okay.)
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters:
Go to forum
Not logged in. · Lost password · Register
This board is powered by the Unclassified NewsBoard software, 20120620-dev, © 2003-2011 by Yves Goergen
Current time: 2018-08-17, 15:30:52 (UTC +00:00)