Skip to Content.
Sympa Menu

opal - Re: [Opal] Correlation term

opal AT

Subject: The OPAL Discussion Forum

List archive

Re: [Opal] Correlation term

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

Great, thanks!


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

the correlation is divided by xrms * prms.


On Mon, Oct 31, 2016 at 8:50 PM, Nicole Neveu <nneveu AT> 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? 



Archive powered by MHonArc 2.6.19.

Top of Page