-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
cb6d7ae
commit 7f3bd00
Showing
2 changed files
with
19 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# Observables | ||
|
||
We outline the various observables that hdspin calculates. | ||
|
||
- Statistics are not saved at every timestep. As it is possible to have many millions of timesteps, this is not tractable from a storage standpoint. Grids are generally linear in log-space, and observables are saved only at those timesteps. | ||
- Most observables have a variety of statistics saved, including the mean, standard deviation, standard error, and median (at every timestep on the grid). | ||
- All averaged statistics can be found in the `results.json` file saved at the end of the simulation. | ||
|
||
## Average energy | ||
|
||
Consider the energy of tracer $i$ at simulation clock time $t$ is $E_{i}(t).$ The average energy over $N$ tracers is simply given by | ||
|
||
$$ E(t) = \frac{1}{N} \sum_{i=1}^N E_i(t).$$ | ||
|
||
Results for the energy can be accessed via `results["energy"]`. |