Skip to content

Commit

Permalink
Added a little extra info to docs
Browse files Browse the repository at this point in the history
  • Loading branch information
JBorrow committed Sep 19, 2024
1 parent 25cf2a4 commit 19dc97e
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions docs/source/loading_data/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -296,3 +296,11 @@ You can load SOAP files as follows:
# 574. 489.5 233.75 0. 1406. 367.5 2308.
# ...
# 0. 534. 0. 191.75 1450. 600. 290. ] 10000000000.0*Msun (Physical)
What's going on here? Under the hood, ``swiftsimio`` has a discrimination function
between different metadata types, based upon a property stored in the HDF5 file,
``Header/OutputType``. If this is set to ``FullVolume``, we have a snapshot,
and use the :obj:`swiftsimio.metadata.objects.SWIFTSnapshotMetadata`
class. If it is ``SOAP``, we use
:obj:`swiftsimio.metadata.objects.SWIFTSOAPMetadata`, which instructs
``swiftsimio`` to read slightly different properties from the HDF5 file.

0 comments on commit 19dc97e

Please sign in to comment.