Skip to Content.
Sympa Menu

opal - Re: [Opal] Correlation term

opal AT lists.psi.ch

Subject: The OPAL Discussion Forum

List archive

Re: [Opal] Correlation term


Chronological Thread 
  • From: Nicole Neveu <nneveu AT hawk.iit.edu>
  • To: christof kraus <christof.j.kraus AT gmail.com>
  • Cc: opal <opal AT lists.psi.ch>
  • Subject: Re: [Opal] Correlation term
  • Date: Tue, 1 Nov 2016 09:40:32 -0500

Great, thanks!

Nicole

On Tue, Nov 1, 2016 at 4:46 AM, christof kraus <christof.j.kraus AT gmail.com> wrote:
Hi Nicole,

the correlation is divided by xrms * prms.

christof

On Mon, Oct 31, 2016 at 8:50 PM, Nicole Neveu <nneveu AT hawk.iit.edu> wrote:
Hi OPAL'ers, 

What is the equation for xpx (column 21) in the stat file?
When I calculate xrms and pxrms, (using the h5 file and math definitions), the numbers match exactly. 
I thought the calculation would be similar for the correlation term. Something like:  

correlation = ( (np.sum(x*px)/npt) - (np.sum(x)/npt)*(np.sum(px)/npt) )

However, when I do this calculation, it does not match the xpx value listed in the stat file. 
Do I need to divide by xrms? What part of the equation am I missing? 

Thanks!

Nicole





Archive powered by MHonArc 2.6.19.

Top of Page