Comments (8)
from epsproc.
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.
Issue closed.
from epsproc.
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.
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.
Sorry, but what is this scale-factor exactly? I don't know when and how to use SF to correct my calculation.
from epsproc.
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
ePSproc/data/photoionization/no2_demo_ePS.out
Line 2128 in 1c0b8fd
- 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.
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)
- lmPlot overloading labels HOT 4
- Data structures: Xarray datasets and class-based methods HOT 1
- GeomFunc todo & tidy-up HOT 6
- Plotting routines HOT 14
- Code structure, things to tidy up
- Fix Sphinx-RTD build chain HOT 2
- Symmetry and matrix element handling
- ePSdata interface HOT 1
- Wavefunction class and plotting HOT 2
- Spherical functions
- Verify/fix degenerate state handling. HOT 1
- Tests and CI HOT 2
- Backend package updates HOT 1
- Main IO routines
- Xarray attrs (attributes) nested case propagation HOT 2
- Xarray IO code and stacking
- Sample data
- Add citation file and links
- XR selection routines
- MFPADs with polarization calculations
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from epsproc.