.. _sphx_glr_tutorials_data_structures: .. _ref_tutorials_data_structures: =================== DPF data structures =================== DPF uses two main data structures to handle data: Fields and Collections. It is important to be aware of how the data is structured in those containers. The data containers can be: - **Raw data storage structures**: Data arrays (a ``Field`` for example) or Data Maps (a ``DataTree`` for example) - **Collections**: a group of same labeled objects from one DPF raw data storage structure (a ``FieldsContainer`` for example, that is a group of ``Fields`` with the same label) These tutorials explain how these structures work and how you can manipulate data within. .. grid:: 1 1 3 3 :gutter: 2 :padding: 2 :margin: 2 .. grid-item-card:: Data arrays - Fields :link: ref_tutorials_data_arrays :link-type: ref :text-align: center This tutorial shows how to create and work with data arrays in PyDPF-Core. .. grid-item-card:: DPF collections :link: ref_tutorials_collections :link-type: ref :text-align: center This tutorial shows how to create and work with some DPF collections: FieldsContainer, MeshesContainer and ScopingsContainer .. raw:: html .. raw:: html
.. thumbnail-parent-div-open .. raw:: html
.. only:: html .. image:: /tutorials/data_structures/images/thumb/sphx_glr_data_arrays_thumb.png :alt: :doc:`/tutorials/data_structures/data_arrays` .. raw:: html
Data Arrays
.. raw:: html
.. only:: html .. image:: /tutorials/data_structures/images/thumb/sphx_glr_collections_thumb.png :alt: :doc:`/tutorials/data_structures/collections` .. raw:: html
DPF Collections
.. thumbnail-parent-div-close .. raw:: html
.. toctree:: :hidden: /tutorials/data_structures/data_arrays /tutorials/data_structures/collections