Skip to content

Add option to weight ACF calculations #54

Description

@amruthesht

Additional feature request

The current ACF PR #37 provides great flexibility in doing ACF calculations for various physical properties. However, in practice, people tend to to weight their ACF calculations by weighting factor. It would be great if the widget had the options to weight the physcial property whose correlation is being calculated.

Example and context

It is sometimes useful to say calculate a mass-weighted ACF. The weighting factor could thus be another physical property like mass or charge of the particles/atom. This weighting factor may also be a simple function of a quantity like $$\sqrt{m}$$ square root of mass. Thus giving say,

$$C_{mw,i}(\tau) = \langle \big(\sqrt{m_i}\mathbf{v}_i(t)\big) \cdot \big(\sqrt{m_i}\mathbf{v}_i(t+\tau)\big) \rangle_t$$

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions