Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A new compute function #64

Open
andrewtarzia opened this issue Feb 16, 2025 · 0 comments
Open

A new compute function #64

andrewtarzia opened this issue Feb 16, 2025 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@andrewtarzia
Copy link
Contributor

andrewtarzia commented Feb 16, 2025

The idea is to simplify the analysis of time series, so I envisage a function/class that takes a trajectory and an analysis function that outputs a float|array for each time step, then dynsight can automatically provided some statistics and plots?

Something like:

compute_and_plot(
    trajectory: mda.Universe,
    compute_function: Callable,
    output_path: pathlib.Patb, # where files are saved.
)

compute_function = function(Universe) -> float

I think these could also be Recipes, which have separate dependencies that allow testing and use things like:

  • stk and pywindow to monitor structure features of a simulation
@andrewtarzia andrewtarzia added enhancement New feature or request good first issue Good for newcomers labels Feb 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant