Giter VIP home page Giter VIP logo

Comments (8)

Planetenbesitzer avatar Planetenbesitzer commented on July 20, 2024 1

from epsproc.

phockett avatar phockett commented on July 20, 2024

SF prop now incorporated.

Added SF as non-dimensional coord to matrix element Xarray.
Added to scaling calcs. in mfblm().

Might be an issue in some cases if SF is dependent on multiple dims, if only Eke dependent then all is OK.

from epsproc.

phockett avatar phockett commented on July 20, 2024

Issue closed.

from epsproc.

phockett avatar phockett commented on July 20, 2024

Actually, may still be an issue generally - trying to iron out again with AF calculation tests. Issue might be due to complex-valued SFs. (See GDoc PAD notes 2018 for more.)

from epsproc.

phockett avatar phockett commented on July 20, 2024

Now mostly fixed (for geometric calc version) in 1aad3f9

This gives correct AF betas (tested only for N2 LF case so far), and XS from ePS definition (matches GetCro results).

Still need to confirm absolute XS Mb values however.

from epsproc.

Planetenbesitzer avatar Planetenbesitzer commented on July 20, 2024

Sorry, but what is this scale-factor exactly? I don't know when and how to use SF to correct my calculation.

from epsproc.

phockett avatar phockett commented on July 20, 2024

Good question, and apologies this is not documented elsewhere already!

Short answer: you probably don't need to use the scale factor (SF).


Longer answer for reference:

  • The SF is output by ePolyScat DumpIdy segments for matrix elements, which look something like:
----------------------------------------------------------------------
DumpIdy - dump out phase corrected and properly normalized dynamical coefs
----------------------------------------------------------------------

Use photoelectron kinetic energy =       0.810000 eV
Corresponding photon energy =      14.402000 eV
Scale Factor to square root of Mbarn =  0.20663304E+01  0.39041597E+01


Sym Cont =A2     Targ =A2     Total =A1   
Sym Cont =    2  Targ =    2  Total =    1
NGroup =    4  Energy =  0.81000000E+00
LMax =   12  nrdimTarg =    1  NDipoleMatrixTypes = -100
   m   l mu ip it Value
  -2   2  0  1  1 -0.11977756E+00 -0.14663879E-01
   2   2  0  1  1  0.11977756E+00  0.14663879E-01
...

(This is from the NO2 demo at

DumpIdy - dump out phase corrected and properly normalized dynamical coefs
)

  • In ePSproc these Scale Factor to square root of Mbarn values are read, and stored in the Xarray metadata for each set of matrix elements.
  • In testing, I found that these are already incorporated in the matrix elements, so you don't need to worry about them in general for computing X-sections or AF/LF results (see https://epsproc.readthedocs.io/en/latest/methods/LF_AF_verification_tests_060720_tidy_100920.html which compares results from ePolyScat getCro segments for the LF, with results computed using the ePSproc routines from the matrix elements for the LF case - this is a good sanity test of the numerics), although I did leave in the option to multiply by the SF in the current dev code.
  • For changing the normalisation of the matrix elements you might want to use the SF, but I haven't explored this.

Out of interest, what are you working on?

from epsproc.

phockett avatar phockett commented on July 20, 2024

Also, there is a new verifyAFiso() function you can use for the type of comparison mentioned above, see the docs and source for details. (Note this is currently in the dev branch only, and not yet written up in the main documentation.)

from epsproc.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.