Description of work
Applied the correlation update to some dynamics jobs following #435. The approach that I'm that is proposed in the PR is similar to the correlation function defined in mcquarrie statistical mechanics.
An alternative truncation-type procedure would be different from the above (before taking the limit) since the window size $-T$ to $T$ decreases for increasing $\tau$.
A new option in the frames setting has been added "correlation frames". This gives you the resulting number of frames in your correlations function. E.g. With VACF if "correlation frames" is set to 5 you will have 5 time steps in your VACF.
For the default setting I set the correlation frames used to around half of the total frames available.
Angular Correlation
Spurious oscillation at long time are removed.
Before
After
DOS
Overall noise of the DOS is reduced.
Before
After
MSD
Some small oscillation at long time are removed. The new MSD appears linear at long times while the old scheme doesn't look straight for long times.
Before
After
PACF
Spurious oscillation at long time are removed.
Before
After
VACF
Spuriously increasing correlation a long times are removed.
Before
After
To test
Run one of the dynamics jobs and check everything is working correctly. Try changing the number of correlation frames and check that it works as expected.
Description of work Applied the correlation update to some dynamics jobs following #435. The approach that I'm that is proposed in the PR is similar to the correlation function defined in mcquarrie statistical mechanics.
An alternative truncation-type procedure would be different from the above (before taking the limit) since the window size $-T$ to $T$ decreases for increasing $\tau$.
A new option in the frames setting has been added "correlation frames". This gives you the resulting number of frames in your correlations function. E.g. With VACF if "correlation frames" is set to 5 you will have 5 time steps in your VACF.
For the default setting I set the correlation frames used to around half of the total frames available.
Angular Correlation Spurious oscillation at long time are removed.
Before![image](https://github.com/ISISNeutronMuon/MDANSE/assets/14276033/9b05ed75-fe74-4d67-aec8-5da8537815e2)
After![image](https://github.com/ISISNeutronMuon/MDANSE/assets/14276033/4a8ab393-2d9c-472b-875d-91f4f638d7ba)
DOS Overall noise of the DOS is reduced.
Before![image](https://github.com/ISISNeutronMuon/MDANSE/assets/14276033/543b67af-beeb-4221-b681-0ca7f36ee623)
After![image](https://github.com/ISISNeutronMuon/MDANSE/assets/14276033/be8e6ad0-1f3f-4b67-8b16-d3c7861167c6)
MSD Some small oscillation at long time are removed. The new MSD appears linear at long times while the old scheme doesn't look straight for long times.
Before![image](https://github.com/ISISNeutronMuon/MDANSE/assets/14276033/9c117e29-eaff-46f3-ae22-5a18e7bc5790)
After![image](https://github.com/ISISNeutronMuon/MDANSE/assets/14276033/b061568f-2ee1-4e1b-8bae-140c5d5d08b4)
PACF Spurious oscillation at long time are removed.
Before![image](https://github.com/ISISNeutronMuon/MDANSE/assets/14276033/edfe78d0-9868-4156-8f2f-ee44651c181e)
After![image](https://github.com/ISISNeutronMuon/MDANSE/assets/14276033/3f4745c5-d187-498b-bf55-ccc3790698fe)
VACF Spuriously increasing correlation a long times are removed.
Before![image](https://github.com/ISISNeutronMuon/MDANSE/assets/14276033/c2b30b84-13e2-4ad6-92b8-9de5ac2bc6f7)
After![image](https://github.com/ISISNeutronMuon/MDANSE/assets/14276033/56cc8f08-efe0-47d4-92eb-dc1066eb2031)
To test Run one of the dynamics jobs and check everything is working correctly. Try changing the number of correlation frames and check that it works as expected.