From 8a418cd11ff50e1a0600e9aa7ebaa384341b5df0 Mon Sep 17 00:00:00 2001 From: Knut-Frode Dagestad Date: Wed, 15 Jul 2026 14:23:43 +0200 Subject: [PATCH] Final updates to doc frontpage --- docs/source/index.rst | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/docs/source/index.rst b/docs/source/index.rst index 1fd723a..5946e78 100644 --- a/docs/source/index.rst +++ b/docs/source/index.rst @@ -63,7 +63,7 @@ For Ragged datasets time is a 2D array with dimensions for trajectory and observ TrajAn will detect which type of dataset you have and you will have access to the appropriate methods for the type data layout. `Contiguous ragged `_ and `nc_particles `_ format are internally converted to Ragged format. -While the Ragged format is more general it often limits analysis that require trajectories to be sampled at the same points, you can therefor convert a Ragged dataset to Orthogonal by using :meth:`xarray.Dataset.traj.gridtime`. +While the Ragged format is more general it often limits analysis that require trajectories to be sampled at the same points, you can therefore convert a Ragged dataset to Orthogonal by using :meth:`ds.traj.gridtime `. Methods applicable to both types of datasets can be found in: `.traj accessor `_, methods for Orthogonal datasets: :class:`trajan.traj.orthogonal.Orthogonal`, and Ragged: :class:`trajan.traj.ragged.Ragged`. All methods are forwarded to the accessor, so you call the methods on :mod:`ds.traj`: @@ -74,9 +74,12 @@ Methods applicable to both types of datasets can be found in: `.traj accessor ` (see :class:`trajan.plot.Plot`) -TrajAn also contains an animation builder mechanism the can be chained: -:attr:`ds.traj.animate ` (see :class:`trajan.animation.Animation`) + +:attr:`ds.traj.plot() ` + +TrajAn also contains an `animation builder mechanism `_: + +:attr:`ds.traj.animate() ` Contents --------