:orphan: .. _tutorials: Tutorials ========= .. raw:: html
.. raw:: html
.. thumbnail-parent-div-open .. raw:: html
.. only:: html .. image:: /tutorials/images/thumb/sphx_glr_plot_s3_streaming_thumb.png :alt: :doc:`/tutorials/plot_s3_streaming` .. raw:: html
Streaming NWB Zarr files from S3
.. raw:: html
.. only:: html .. image:: /tutorials/images/thumb/sphx_glr_plot_zarr_dataset_io_thumb.png :alt: :doc:`/tutorials/plot_zarr_dataset_io` .. raw:: html
Zarr Dataset I/O
.. raw:: html
.. only:: html .. image:: /tutorials/images/thumb/sphx_glr_plot_convert_nwb_hdf5_thumb.png :alt: :doc:`/tutorials/plot_convert_nwb_hdf5` .. raw:: html
Converting NWB HDF5 files to/from Zarr
.. raw:: html
.. only:: html .. image:: /tutorials/images/thumb/sphx_glr_plot_zarr_io_thumb.png :alt: :doc:`/tutorials/plot_zarr_io` .. raw:: html
ZarrIO Overview
.. raw:: html
.. only:: html .. image:: /tutorials/images/thumb/sphx_glr_plot_nwb_zarrio_thumb.png :alt: :doc:`/tutorials/plot_nwb_zarrio` .. raw:: html
Creating NWB files using NWBZarrIO
.. thumbnail-parent-div-close .. raw:: html
.. toctree:: :hidden: /tutorials/plot_s3_streaming /tutorials/plot_zarr_dataset_io /tutorials/plot_convert_nwb_hdf5 /tutorials/plot_zarr_io /tutorials/plot_nwb_zarrio Resources ========= sub-healthy-simulated-beta_ses-162_ecephys.nwb -------------------------------------------------------- This NWB file was downloaded from `Dandiset 001333 `_ .. code-block:: python :linenos: import os from dandi.dandiapi import DandiAPIClient dandiset_id = "001333" filepath = "sub-healthy-simulated-beta/sub-healthy-simulated-beta_ses-162_ecephys.nwb" # 220 KiB file with DandiAPIClient() as client: asset = client.get_dandiset(dandiset_id, 'draft').get_asset_by_path(filepath) s3_path = asset.get_content_url(follow_redirects=1, strip_query=True) filename = os.path.basename(asset.path) asset.download(filename) .. raw:: html
.. raw:: html
.. thumbnail-parent-div-open .. thumbnail-parent-div-close .. raw:: html
.. toctree:: :hidden: :includehidden: /tutorials/resources/index.rst .. only:: html .. container:: sphx-glr-footer sphx-glr-footer-gallery .. container:: sphx-glr-download sphx-glr-download-python :download:`Download all examples in Python source code: tutorials_python.zip ` .. container:: sphx-glr-download sphx-glr-download-jupyter :download:`Download all examples in Jupyter notebooks: tutorials_jupyter.zip ` .. only:: html .. rst-class:: sphx-glr-signature `Gallery generated by Sphinx-Gallery `_