|
19 | 19 | }, |
20 | 20 | { |
21 | 21 | "cell_type": "code", |
22 | | - "execution_count": null, |
| 22 | + "execution_count": 1, |
23 | 23 | "id": "d76f08a6", |
24 | 24 | "metadata": {}, |
25 | 25 | "outputs": [], |
|
38 | 38 | }, |
39 | 39 | { |
40 | 40 | "cell_type": "code", |
41 | | - "execution_count": null, |
| 41 | + "execution_count": 2, |
42 | 42 | "id": "400c411d", |
43 | 43 | "metadata": {}, |
44 | 44 | "outputs": [], |
45 | 45 | "source": [ |
46 | | - "nwb_filepath = \"~/data/sub-699733573_ses-715093703.nwb\"" |
| 46 | + "nwb_filepath = \"./sub-699733573_ses-715093703.nwb\"" |
47 | 47 | ] |
48 | 48 | }, |
49 | 49 | { |
50 | 50 | "cell_type": "code", |
51 | | - "execution_count": null, |
| 51 | + "execution_count": 3, |
52 | 52 | "id": "7628e758", |
53 | 53 | "metadata": {}, |
54 | | - "outputs": [], |
| 54 | + "outputs": [ |
| 55 | + { |
| 56 | + "name": "stderr", |
| 57 | + "output_type": "stream", |
| 58 | + "text": [ |
| 59 | + "C:\\Users\\carter.peene\\AppData\\Local\\Programs\\Python\\Python39\\lib\\site-packages\\hdmf\\spec\\namespace.py:531: UserWarning: Ignoring cached namespace 'hdmf-common' version 1.1.3 because version 1.5.1 is already loaded.\n", |
| 60 | + " warn(\"Ignoring cached namespace '%s' version %s because version %s is already loaded.\"\n", |
| 61 | + "C:\\Users\\carter.peene\\AppData\\Local\\Programs\\Python\\Python39\\lib\\site-packages\\hdmf\\spec\\namespace.py:531: UserWarning: Ignoring cached namespace 'core' version 2.2.2 because version 2.5.0 is already loaded.\n", |
| 62 | + " warn(\"Ignoring cached namespace '%s' version %s because version %s is already loaded.\"\n" |
| 63 | + ] |
| 64 | + }, |
| 65 | + { |
| 66 | + "name": "stdout", |
| 67 | + "output_type": "stream", |
| 68 | + "text": [ |
| 69 | + "root pynwb.file.NWBFile at 0x2647013427664\n", |
| 70 | + "Fields:\n", |
| 71 | + " acquisition: {\n", |
| 72 | + " raw_running_wheel_rotation <class 'pynwb.base.TimeSeries'>,\n", |
| 73 | + " running_wheel_signal_voltage <class 'pynwb.base.TimeSeries'>,\n", |
| 74 | + " running_wheel_supply_voltage <class 'pynwb.base.TimeSeries'>\n", |
| 75 | + " }\n", |
| 76 | + " devices: {\n", |
| 77 | + " probeA <class 'abc.EcephysProbe'>,\n", |
| 78 | + " probeB <class 'abc.EcephysProbe'>,\n", |
| 79 | + " probeC <class 'abc.EcephysProbe'>,\n", |
| 80 | + " probeD <class 'abc.EcephysProbe'>,\n", |
| 81 | + " probeE <class 'abc.EcephysProbe'>,\n", |
| 82 | + " probeF <class 'abc.EcephysProbe'>\n", |
| 83 | + " }\n", |
| 84 | + " electrode_groups: {\n", |
| 85 | + " probeA <class 'abc.EcephysElectrodeGroup'>,\n", |
| 86 | + " probeB <class 'abc.EcephysElectrodeGroup'>,\n", |
| 87 | + " probeC <class 'abc.EcephysElectrodeGroup'>,\n", |
| 88 | + " probeD <class 'abc.EcephysElectrodeGroup'>,\n", |
| 89 | + " probeE <class 'abc.EcephysElectrodeGroup'>,\n", |
| 90 | + " probeF <class 'abc.EcephysElectrodeGroup'>\n", |
| 91 | + " }\n", |
| 92 | + " electrodes: electrodes <class 'hdmf.common.table.DynamicTable'>\n", |
| 93 | + " file_create_date: [datetime.datetime(2020, 5, 26, 0, 53, 26, 986608, tzinfo=tzoffset(None, -25200))]\n", |
| 94 | + " identifier: 715093703\n", |
| 95 | + " institution: Allen Institute for Brain Science\n", |
| 96 | + " intervals: {\n", |
| 97 | + " drifting_gratings_presentations <class 'pynwb.epoch.TimeIntervals'>,\n", |
| 98 | + " flashes_presentations <class 'pynwb.epoch.TimeIntervals'>,\n", |
| 99 | + " gabors_presentations <class 'pynwb.epoch.TimeIntervals'>,\n", |
| 100 | + " invalid_times <class 'pynwb.epoch.TimeIntervals'>,\n", |
| 101 | + " natural_movie_one_presentations <class 'pynwb.epoch.TimeIntervals'>,\n", |
| 102 | + " natural_movie_three_presentations <class 'pynwb.epoch.TimeIntervals'>,\n", |
| 103 | + " natural_scenes_presentations <class 'pynwb.epoch.TimeIntervals'>,\n", |
| 104 | + " spontaneous_presentations <class 'pynwb.epoch.TimeIntervals'>,\n", |
| 105 | + " static_gratings_presentations <class 'pynwb.epoch.TimeIntervals'>\n", |
| 106 | + " }\n", |
| 107 | + " invalid_times: invalid_times <class 'pynwb.epoch.TimeIntervals'>\n", |
| 108 | + " processing: {\n", |
| 109 | + " eye_tracking_rig_metadata <class 'pynwb.base.ProcessingModule'>,\n", |
| 110 | + " optotagging <class 'pynwb.base.ProcessingModule'>,\n", |
| 111 | + " running <class 'pynwb.base.ProcessingModule'>,\n", |
| 112 | + " stimulus <class 'pynwb.base.ProcessingModule'>\n", |
| 113 | + " }\n", |
| 114 | + " session_description: Data and metadata for an Ecephys session\n", |
| 115 | + " session_id: 715093703\n", |
| 116 | + " session_start_time: 2019-01-19 00:54:18-08:00\n", |
| 117 | + " stimulus_notes: brain_observatory_1.1\n", |
| 118 | + " subject: subject abc.EcephysSpecimen at 0x2647012943904\n", |
| 119 | + "Fields:\n", |
| 120 | + " age: P118D\n", |
| 121 | + " age_in_days: 118.0\n", |
| 122 | + " genotype: Sst-IRES-Cre/wt;Ai32(RCL-ChR2(H134R)_EYFP)/wt\n", |
| 123 | + " sex: M\n", |
| 124 | + " species: Mus musculus\n", |
| 125 | + " specimen_name: Sst-IRES-Cre;Ai32-386129\n", |
| 126 | + " subject_id: 699733573\n", |
| 127 | + "\n", |
| 128 | + " timestamps_reference_time: 2019-01-19 00:54:18-08:00\n", |
| 129 | + " units: units <class 'pynwb.misc.Units'>\n", |
| 130 | + "\n" |
| 131 | + ] |
| 132 | + } |
| 133 | + ], |
55 | 134 | "source": [ |
56 | 135 | "io = NWBHDF5IO(nwb_filepath, mode=\"r\", load_namespaces=True)\n", |
57 | 136 | "nwb = io.read()\n", |
|
0 commit comments