-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
documentationImprovements or additions to documentationImprovements or additions to documentation
Description
I think it is a bit easier for our future selves if we have have a usage example in the docstring.
Something like
hamilflow/hamilflow/models/harmonic_oscillator.py
Lines 141 to 151 in 04ea13c
| To use this generator, | |
| ```python | |
| params = {"omega": omega} | |
| ho = SimpleHarmonicOscillator(params=params) | |
| df = ho(n_periods=1, n_samples_per_period=10) | |
| ``` | |
| `df` will be a pandas dataframe with two columns: `t` and `x`. |
Ursprünglich gepostet von @emptymalei in #58 (comment)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
documentationImprovements or additions to documentationImprovements or additions to documentation