quantity.observables.init_linear_traj_mean_fn#
- init_linear_traj_mean_fn(quantity_key)[source]#
Initializes the linear approximation of an observable average.
This function approximates ensemble averages of instantaneous quantities for a perturbed ensemble based on a cumulant expansion [1].
- Parameters:
quantity_key – Key referencing the quantity in the computed snapshots.
- Return type:
- Returns:
Returns a function to approximate a perturbed ensemble average when given a dictionary of snapshots and weights.