.. _sphx_glr_tutorials_resources: 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