mirror of
https://github.com/p2p-ld/nwb-linkml.git
synced 2024-11-12 17:54:29 +00:00
regenerate models
This commit is contained in:
parent
b9ed7c0026
commit
78de59a0f1
111 changed files with 560 additions and 558 deletions
|
@ -447,7 +447,7 @@ class DatasetAdapter(ClassAdapter):
|
|||
"""
|
||||
Orchestrator class for datasets - calls the set of applicable mapping classes
|
||||
"""
|
||||
TYPE = Dataset
|
||||
TYPE: Type = Dataset
|
||||
|
||||
cls: Dataset
|
||||
|
||||
|
|
|
@ -2,6 +2,8 @@
|
|||
Adapter for NWB groups to linkml Classes
|
||||
"""
|
||||
|
||||
from typing import Type
|
||||
|
||||
from linkml_runtime.linkml_model import SlotDefinition
|
||||
|
||||
from nwb_linkml.adapters.adapter import BuildResult
|
||||
|
@ -16,7 +18,7 @@ class GroupAdapter(ClassAdapter):
|
|||
"""
|
||||
Adapt NWB Groups to LinkML Classes
|
||||
"""
|
||||
TYPE = Group
|
||||
TYPE: Type = Group
|
||||
|
||||
cls: Group
|
||||
|
||||
|
|
|
@ -53,7 +53,7 @@ if TYPE_CHECKING:
|
|||
import numpy as np
|
||||
|
||||
|
||||
from ...hdmf_common.v1_1_0.hdmf_common_table import Container, Data, DynamicTable
|
||||
from ...hdmf_common.v1_1_0.hdmf_common_table import Data, Container, DynamicTable
|
||||
|
||||
|
||||
metamodel_version = "None"
|
||||
|
@ -118,8 +118,8 @@ class Image(NWBData):
|
|||
array: Optional[
|
||||
Union[
|
||||
NDArray[Shape["* x, * y"], float],
|
||||
NDArray[Shape["* x, * y, 3 r, g, b"], float],
|
||||
NDArray[Shape["* x, * y, 4 r, g, b, a"], float],
|
||||
NDArray[Shape["* x, * y, 3 r_g_b"], float],
|
||||
NDArray[Shape["* x, * y, 4 r_g_b_a"], float],
|
||||
]
|
||||
] = Field(None)
|
||||
|
||||
|
@ -204,9 +204,9 @@ class TimeSeriesData(ConfiguredBaseModel):
|
|||
array: Optional[
|
||||
Union[
|
||||
NDArray[Shape["* num_times"], Any],
|
||||
NDArray[Shape["* num_times, * num_DIM2"], Any],
|
||||
NDArray[Shape["* num_times, * num_DIM2, * num_DIM3"], Any],
|
||||
NDArray[Shape["* num_times, * num_DIM2, * num_DIM3, * num_DIM4"], Any],
|
||||
NDArray[Shape["* num_times, * num_dim2"], Any],
|
||||
NDArray[Shape["* num_times, * num_dim2, * num_dim3"], Any],
|
||||
NDArray[Shape["* num_times, * num_dim2, * num_dim3, * num_dim4"], Any],
|
||||
]
|
||||
] = Field(None)
|
||||
|
||||
|
|
|
@ -53,16 +53,16 @@ if TYPE_CHECKING:
|
|||
import numpy as np
|
||||
|
||||
|
||||
from ...hdmf_common.v1_1_0.hdmf_common_table import DynamicTable, DynamicTableRegion
|
||||
|
||||
from .core_nwb_base import (
|
||||
TimeSeriesStartingTime,
|
||||
NWBDataInterface,
|
||||
TimeSeriesStartingTime,
|
||||
TimeSeriesSync,
|
||||
TimeSeries,
|
||||
NWBContainer,
|
||||
)
|
||||
|
||||
from ...hdmf_common.v1_1_0.hdmf_common_table import DynamicTable, DynamicTableRegion
|
||||
|
||||
|
||||
metamodel_version = "None"
|
||||
version = "2.2.0"
|
||||
|
|
|
@ -54,9 +54,9 @@ if TYPE_CHECKING:
|
|||
|
||||
|
||||
from ...hdmf_common.v1_1_0.hdmf_common_table import (
|
||||
VectorIndex,
|
||||
VectorData,
|
||||
DynamicTable,
|
||||
VectorIndex,
|
||||
)
|
||||
|
||||
from .core_nwb_base import TimeSeries
|
||||
|
|
|
@ -53,26 +53,26 @@ if TYPE_CHECKING:
|
|||
import numpy as np
|
||||
|
||||
|
||||
from .core_nwb_misc import Units
|
||||
|
||||
from .core_nwb_device import Device
|
||||
|
||||
from .core_nwb_ecephys import ElectrodeGroup
|
||||
|
||||
from .core_nwb_epoch import TimeIntervals
|
||||
|
||||
from .core_nwb_base import NWBContainer, TimeSeries, ProcessingModule, NWBDataInterface
|
||||
|
||||
from .core_nwb_ophys import ImagingPlane
|
||||
|
||||
from .core_nwb_icephys import SweepTable, IntracellularElectrode
|
||||
from .core_nwb_icephys import IntracellularElectrode, SweepTable
|
||||
|
||||
from .core_nwb_base import NWBContainer, TimeSeries, NWBDataInterface, ProcessingModule
|
||||
|
||||
from .core_nwb_epoch import TimeIntervals
|
||||
|
||||
from ...hdmf_common.v1_1_0.hdmf_common_table import (
|
||||
DynamicTable,
|
||||
VectorIndex,
|
||||
VectorData,
|
||||
DynamicTable,
|
||||
)
|
||||
|
||||
from .core_nwb_misc import Units
|
||||
|
||||
from .core_nwb_ogen import OptogeneticStimulusSite
|
||||
|
||||
|
||||
|
|
|
@ -61,9 +61,9 @@ from .core_nwb_base import (
|
|||
)
|
||||
|
||||
from ...hdmf_common.v1_1_0.hdmf_common_table import (
|
||||
DynamicTable,
|
||||
VectorIndex,
|
||||
VectorData,
|
||||
DynamicTable,
|
||||
)
|
||||
|
||||
|
||||
|
|
|
@ -53,7 +53,7 @@ if TYPE_CHECKING:
|
|||
import numpy as np
|
||||
|
||||
|
||||
from .core_nwb_base import TimeSeriesStartingTime, TimeSeriesSync, Image, TimeSeries
|
||||
from .core_nwb_base import Image, TimeSeriesStartingTime, TimeSeriesSync, TimeSeries
|
||||
|
||||
|
||||
metamodel_version = "None"
|
||||
|
@ -109,8 +109,8 @@ class GrayscaleImage(Image):
|
|||
array: Optional[
|
||||
Union[
|
||||
NDArray[Shape["* x, * y"], float],
|
||||
NDArray[Shape["* x, * y, 3 r, g, b"], float],
|
||||
NDArray[Shape["* x, * y, 4 r, g, b, a"], float],
|
||||
NDArray[Shape["* x, * y, 3 r_g_b"], float],
|
||||
NDArray[Shape["* x, * y, 4 r_g_b_a"], float],
|
||||
]
|
||||
] = Field(None)
|
||||
|
||||
|
@ -131,8 +131,8 @@ class RGBImage(Image):
|
|||
array: Optional[
|
||||
Union[
|
||||
NDArray[Shape["* x, * y"], float],
|
||||
NDArray[Shape["* x, * y, 3 r, g, b"], float],
|
||||
NDArray[Shape["* x, * y, 4 r, g, b, a"], float],
|
||||
NDArray[Shape["* x, * y, 3 r_g_b"], float],
|
||||
NDArray[Shape["* x, * y, 4 r_g_b_a"], float],
|
||||
]
|
||||
] = Field(None)
|
||||
|
||||
|
@ -153,8 +153,8 @@ class RGBAImage(Image):
|
|||
array: Optional[
|
||||
Union[
|
||||
NDArray[Shape["* x, * y"], float],
|
||||
NDArray[Shape["* x, * y, 3 r, g, b"], float],
|
||||
NDArray[Shape["* x, * y, 4 r, g, b, a"], float],
|
||||
NDArray[Shape["* x, * y, 3 r_g_b"], float],
|
||||
NDArray[Shape["* x, * y, 4 r_g_b_a"], float],
|
||||
]
|
||||
] = Field(None)
|
||||
|
||||
|
@ -291,8 +291,8 @@ class OpticalSeries(ImageSeries):
|
|||
)
|
||||
field_of_view: Optional[
|
||||
Union[
|
||||
NDArray[Shape["2 width, height"], float],
|
||||
NDArray[Shape["3 width, height, depth"], float],
|
||||
NDArray[Shape["2 width_height"], float],
|
||||
NDArray[Shape["3 width_height_depth"], float],
|
||||
]
|
||||
] = Field(
|
||||
None,
|
||||
|
|
|
@ -54,10 +54,10 @@ if TYPE_CHECKING:
|
|||
|
||||
|
||||
from ...hdmf_common.v1_1_0.hdmf_common_table import (
|
||||
VectorIndex,
|
||||
VectorData,
|
||||
DynamicTable,
|
||||
DynamicTableRegion,
|
||||
VectorIndex,
|
||||
)
|
||||
|
||||
from .core_nwb_base import TimeSeriesStartingTime, TimeSeriesSync, TimeSeries
|
||||
|
@ -313,7 +313,7 @@ class DecompositionSeriesBands(DynamicTable):
|
|||
band_name: Optional[List[str] | str] = Field(
|
||||
default_factory=list, description="""Name of the band, e.g. theta."""
|
||||
)
|
||||
band_limits: NDArray[Shape["* num_bands, 2 low, high"], float] = Field(
|
||||
band_limits: NDArray[Shape["* num_bands, 2 low_high"], float] = Field(
|
||||
...,
|
||||
description="""Low and high limit of each band in Hz. If it is a Gaussian filter, use 2 SD on either side of the center.""",
|
||||
)
|
||||
|
@ -359,7 +359,7 @@ class Units(DynamicTable):
|
|||
obs_intervals_index: Optional[str] = Field(
|
||||
None, description="""Index into the obs_intervals dataset."""
|
||||
)
|
||||
obs_intervals: Optional[NDArray[Shape["* num_intervals, 2 start|end"], float]] = (
|
||||
obs_intervals: Optional[NDArray[Shape["* num_intervals, 2 start_end"], float]] = (
|
||||
Field(None, description="""Observation intervals for each unit.""")
|
||||
)
|
||||
electrodes_index: Optional[str] = Field(
|
||||
|
|
|
@ -54,10 +54,10 @@ if TYPE_CHECKING:
|
|||
|
||||
|
||||
from .core_nwb_base import (
|
||||
TimeSeriesSync,
|
||||
NWBContainer,
|
||||
TimeSeries,
|
||||
TimeSeriesStartingTime,
|
||||
TimeSeriesSync,
|
||||
)
|
||||
|
||||
|
||||
|
|
|
@ -53,16 +53,16 @@ if TYPE_CHECKING:
|
|||
import numpy as np
|
||||
|
||||
|
||||
from .core_nwb_image import ImageSeriesExternalFile, ImageSeries
|
||||
|
||||
from .core_nwb_base import (
|
||||
NWBDataInterface,
|
||||
TimeSeriesStartingTime,
|
||||
TimeSeriesSync,
|
||||
NWBDataInterface,
|
||||
TimeSeries,
|
||||
NWBContainer,
|
||||
)
|
||||
|
||||
from .core_nwb_image import ImageSeriesExternalFile, ImageSeries
|
||||
|
||||
from ...hdmf_common.v1_1_0.hdmf_common_table import DynamicTable, DynamicTableRegion
|
||||
|
||||
|
||||
|
@ -117,8 +117,8 @@ class TwoPhotonSeries(ImageSeries):
|
|||
)
|
||||
field_of_view: Optional[
|
||||
Union[
|
||||
NDArray[Shape["2 width|height"], float],
|
||||
NDArray[Shape["3 width|height"], float],
|
||||
NDArray[Shape["2 width_height"], float],
|
||||
NDArray[Shape["3 width_height"], float],
|
||||
]
|
||||
] = Field(
|
||||
None,
|
||||
|
@ -179,7 +179,7 @@ class RoiResponseSeries(TimeSeries):
|
|||
name: str = Field(...)
|
||||
data: Union[
|
||||
NDArray[Shape["* num_times"], float],
|
||||
NDArray[Shape["* num_times, * num_ROIs"], float],
|
||||
NDArray[Shape["* num_times, * num_rois"], float],
|
||||
] = Field(..., description="""Signals from ROIs.""")
|
||||
rois: str = Field(
|
||||
...,
|
||||
|
@ -325,8 +325,8 @@ class ImagingPlaneManifold(ConfiguredBaseModel):
|
|||
)
|
||||
array: Optional[
|
||||
Union[
|
||||
NDArray[Shape["* height, * width, * depth, 3 x, y, z"], float],
|
||||
NDArray[Shape["* height, * width, 3 x, y, z"], float],
|
||||
NDArray[Shape["* height, * width, * depth, 3 x_y_z"], float],
|
||||
NDArray[Shape["* height, * width, 3 x_y_z"], float],
|
||||
]
|
||||
] = Field(None)
|
||||
|
||||
|
@ -342,7 +342,7 @@ class ImagingPlaneOriginCoords(ConfiguredBaseModel):
|
|||
None,
|
||||
description="""Measurement units for origin_coords. The default value is 'meters'.""",
|
||||
)
|
||||
array: Optional[NDArray[Shape["2 x, y, 3 x, y, z"], float]] = Field(None)
|
||||
array: Optional[NDArray[Shape["2 x_y, 3 x_y_z"], float]] = Field(None)
|
||||
|
||||
|
||||
class ImagingPlaneGridSpacing(ConfiguredBaseModel):
|
||||
|
@ -356,7 +356,7 @@ class ImagingPlaneGridSpacing(ConfiguredBaseModel):
|
|||
None,
|
||||
description="""Measurement units for grid_spacing. The default value is 'meters'.""",
|
||||
)
|
||||
array: Optional[NDArray[Shape["2 x, y, 3 x, y, z"], float]] = Field(None)
|
||||
array: Optional[NDArray[Shape["2 x_y, 3 x_y_z"], float]] = Field(None)
|
||||
|
||||
|
||||
class OpticalChannel(NWBContainer):
|
||||
|
|
|
@ -53,7 +53,7 @@ if TYPE_CHECKING:
|
|||
import numpy as np
|
||||
|
||||
|
||||
from .core_nwb_base import NWBData, NWBDataInterface
|
||||
from .core_nwb_base import NWBDataInterface, NWBData
|
||||
|
||||
from .core_nwb_image import GrayscaleImage
|
||||
|
||||
|
@ -162,8 +162,8 @@ class RetinotopyImage(GrayscaleImage):
|
|||
array: Optional[
|
||||
Union[
|
||||
NDArray[Shape["* x, * y"], float],
|
||||
NDArray[Shape["* x, * y, 3 r, g, b"], float],
|
||||
NDArray[Shape["* x, * y, 4 r, g, b, a"], float],
|
||||
NDArray[Shape["* x, * y, 3 r_g_b"], float],
|
||||
NDArray[Shape["* x, * y, 4 r_g_b_a"], float],
|
||||
]
|
||||
] = Field(None)
|
||||
|
||||
|
@ -336,8 +336,8 @@ class ImagingRetinotopyFocalDepthImage(RetinotopyImage):
|
|||
array: Optional[
|
||||
Union[
|
||||
NDArray[Shape["* x, * y"], float],
|
||||
NDArray[Shape["* x, * y, 3 r, g, b"], float],
|
||||
NDArray[Shape["* x, * y, 4 r, g, b, a"], float],
|
||||
NDArray[Shape["* x, * y, 3 r_g_b"], float],
|
||||
NDArray[Shape["* x, * y, 4 r_g_b_a"], float],
|
||||
]
|
||||
] = Field(None)
|
||||
|
||||
|
@ -372,8 +372,8 @@ class ImagingRetinotopyVasculatureImage(RetinotopyImage):
|
|||
array: Optional[
|
||||
Union[
|
||||
NDArray[Shape["* x, * y"], float],
|
||||
NDArray[Shape["* x, * y, 3 r, g, b"], float],
|
||||
NDArray[Shape["* x, * y, 4 r, g, b, a"], float],
|
||||
NDArray[Shape["* x, * y, 3 r_g_b"], float],
|
||||
NDArray[Shape["* x, * y, 4 r_g_b_a"], float],
|
||||
]
|
||||
] = Field(None)
|
||||
|
||||
|
|
|
@ -53,7 +53,7 @@ if TYPE_CHECKING:
|
|||
import numpy as np
|
||||
|
||||
|
||||
from ...hdmf_common.v1_1_2.hdmf_common_table import Container, Data, DynamicTable
|
||||
from ...hdmf_common.v1_1_2.hdmf_common_table import Data, Container, DynamicTable
|
||||
|
||||
|
||||
metamodel_version = "None"
|
||||
|
@ -118,8 +118,8 @@ class Image(NWBData):
|
|||
array: Optional[
|
||||
Union[
|
||||
NDArray[Shape["* x, * y"], float],
|
||||
NDArray[Shape["* x, * y, 3 r, g, b"], float],
|
||||
NDArray[Shape["* x, * y, 4 r, g, b, a"], float],
|
||||
NDArray[Shape["* x, * y, 3 r_g_b"], float],
|
||||
NDArray[Shape["* x, * y, 4 r_g_b_a"], float],
|
||||
]
|
||||
] = Field(None)
|
||||
|
||||
|
@ -204,9 +204,9 @@ class TimeSeriesData(ConfiguredBaseModel):
|
|||
array: Optional[
|
||||
Union[
|
||||
NDArray[Shape["* num_times"], Any],
|
||||
NDArray[Shape["* num_times, * num_DIM2"], Any],
|
||||
NDArray[Shape["* num_times, * num_DIM2, * num_DIM3"], Any],
|
||||
NDArray[Shape["* num_times, * num_DIM2, * num_DIM3, * num_DIM4"], Any],
|
||||
NDArray[Shape["* num_times, * num_dim2"], Any],
|
||||
NDArray[Shape["* num_times, * num_dim2, * num_dim3"], Any],
|
||||
NDArray[Shape["* num_times, * num_dim2, * num_dim3, * num_dim4"], Any],
|
||||
]
|
||||
] = Field(None)
|
||||
|
||||
|
|
|
@ -53,16 +53,16 @@ if TYPE_CHECKING:
|
|||
import numpy as np
|
||||
|
||||
|
||||
from ...hdmf_common.v1_1_2.hdmf_common_table import DynamicTable, DynamicTableRegion
|
||||
|
||||
from .core_nwb_base import (
|
||||
TimeSeriesStartingTime,
|
||||
NWBDataInterface,
|
||||
TimeSeriesStartingTime,
|
||||
TimeSeriesSync,
|
||||
TimeSeries,
|
||||
NWBContainer,
|
||||
)
|
||||
|
||||
from ...hdmf_common.v1_1_2.hdmf_common_table import DynamicTable, DynamicTableRegion
|
||||
|
||||
|
||||
metamodel_version = "None"
|
||||
version = "2.2.1"
|
||||
|
|
|
@ -54,9 +54,9 @@ if TYPE_CHECKING:
|
|||
|
||||
|
||||
from ...hdmf_common.v1_1_2.hdmf_common_table import (
|
||||
VectorIndex,
|
||||
VectorData,
|
||||
DynamicTable,
|
||||
VectorIndex,
|
||||
)
|
||||
|
||||
from .core_nwb_base import TimeSeries
|
||||
|
|
|
@ -53,26 +53,26 @@ if TYPE_CHECKING:
|
|||
import numpy as np
|
||||
|
||||
|
||||
from .core_nwb_misc import Units
|
||||
|
||||
from .core_nwb_device import Device
|
||||
|
||||
from .core_nwb_ecephys import ElectrodeGroup
|
||||
|
||||
from .core_nwb_epoch import TimeIntervals
|
||||
|
||||
from .core_nwb_base import NWBContainer, TimeSeries, ProcessingModule, NWBDataInterface
|
||||
|
||||
from .core_nwb_ophys import ImagingPlane
|
||||
|
||||
from .core_nwb_icephys import SweepTable, IntracellularElectrode
|
||||
from .core_nwb_icephys import IntracellularElectrode, SweepTable
|
||||
|
||||
from .core_nwb_base import NWBContainer, TimeSeries, NWBDataInterface, ProcessingModule
|
||||
|
||||
from .core_nwb_epoch import TimeIntervals
|
||||
|
||||
from ...hdmf_common.v1_1_2.hdmf_common_table import (
|
||||
DynamicTable,
|
||||
VectorIndex,
|
||||
VectorData,
|
||||
DynamicTable,
|
||||
)
|
||||
|
||||
from .core_nwb_misc import Units
|
||||
|
||||
from .core_nwb_ogen import OptogeneticStimulusSite
|
||||
|
||||
|
||||
|
|
|
@ -61,9 +61,9 @@ from .core_nwb_base import (
|
|||
)
|
||||
|
||||
from ...hdmf_common.v1_1_2.hdmf_common_table import (
|
||||
DynamicTable,
|
||||
VectorIndex,
|
||||
VectorData,
|
||||
DynamicTable,
|
||||
)
|
||||
|
||||
|
||||
|
|
|
@ -53,7 +53,7 @@ if TYPE_CHECKING:
|
|||
import numpy as np
|
||||
|
||||
|
||||
from .core_nwb_base import TimeSeriesStartingTime, TimeSeriesSync, Image, TimeSeries
|
||||
from .core_nwb_base import Image, TimeSeriesStartingTime, TimeSeriesSync, TimeSeries
|
||||
|
||||
|
||||
metamodel_version = "None"
|
||||
|
@ -109,8 +109,8 @@ class GrayscaleImage(Image):
|
|||
array: Optional[
|
||||
Union[
|
||||
NDArray[Shape["* x, * y"], float],
|
||||
NDArray[Shape["* x, * y, 3 r, g, b"], float],
|
||||
NDArray[Shape["* x, * y, 4 r, g, b, a"], float],
|
||||
NDArray[Shape["* x, * y, 3 r_g_b"], float],
|
||||
NDArray[Shape["* x, * y, 4 r_g_b_a"], float],
|
||||
]
|
||||
] = Field(None)
|
||||
|
||||
|
@ -131,8 +131,8 @@ class RGBImage(Image):
|
|||
array: Optional[
|
||||
Union[
|
||||
NDArray[Shape["* x, * y"], float],
|
||||
NDArray[Shape["* x, * y, 3 r, g, b"], float],
|
||||
NDArray[Shape["* x, * y, 4 r, g, b, a"], float],
|
||||
NDArray[Shape["* x, * y, 3 r_g_b"], float],
|
||||
NDArray[Shape["* x, * y, 4 r_g_b_a"], float],
|
||||
]
|
||||
] = Field(None)
|
||||
|
||||
|
@ -153,8 +153,8 @@ class RGBAImage(Image):
|
|||
array: Optional[
|
||||
Union[
|
||||
NDArray[Shape["* x, * y"], float],
|
||||
NDArray[Shape["* x, * y, 3 r, g, b"], float],
|
||||
NDArray[Shape["* x, * y, 4 r, g, b, a"], float],
|
||||
NDArray[Shape["* x, * y, 3 r_g_b"], float],
|
||||
NDArray[Shape["* x, * y, 4 r_g_b_a"], float],
|
||||
]
|
||||
] = Field(None)
|
||||
|
||||
|
@ -291,8 +291,8 @@ class OpticalSeries(ImageSeries):
|
|||
)
|
||||
field_of_view: Optional[
|
||||
Union[
|
||||
NDArray[Shape["2 width, height"], float],
|
||||
NDArray[Shape["3 width, height, depth"], float],
|
||||
NDArray[Shape["2 width_height"], float],
|
||||
NDArray[Shape["3 width_height_depth"], float],
|
||||
]
|
||||
] = Field(
|
||||
None,
|
||||
|
|
|
@ -54,10 +54,10 @@ if TYPE_CHECKING:
|
|||
|
||||
|
||||
from ...hdmf_common.v1_1_2.hdmf_common_table import (
|
||||
VectorIndex,
|
||||
VectorData,
|
||||
DynamicTable,
|
||||
DynamicTableRegion,
|
||||
VectorIndex,
|
||||
)
|
||||
|
||||
from .core_nwb_base import TimeSeriesStartingTime, TimeSeriesSync, TimeSeries
|
||||
|
@ -313,7 +313,7 @@ class DecompositionSeriesBands(DynamicTable):
|
|||
band_name: Optional[List[str] | str] = Field(
|
||||
default_factory=list, description="""Name of the band, e.g. theta."""
|
||||
)
|
||||
band_limits: NDArray[Shape["* num_bands, 2 low, high"], float] = Field(
|
||||
band_limits: NDArray[Shape["* num_bands, 2 low_high"], float] = Field(
|
||||
...,
|
||||
description="""Low and high limit of each band in Hz. If it is a Gaussian filter, use 2 SD on either side of the center.""",
|
||||
)
|
||||
|
@ -359,7 +359,7 @@ class Units(DynamicTable):
|
|||
obs_intervals_index: Optional[str] = Field(
|
||||
None, description="""Index into the obs_intervals dataset."""
|
||||
)
|
||||
obs_intervals: Optional[NDArray[Shape["* num_intervals, 2 start|end"], float]] = (
|
||||
obs_intervals: Optional[NDArray[Shape["* num_intervals, 2 start_end"], float]] = (
|
||||
Field(None, description="""Observation intervals for each unit.""")
|
||||
)
|
||||
electrodes_index: Optional[str] = Field(
|
||||
|
|
|
@ -54,10 +54,10 @@ if TYPE_CHECKING:
|
|||
|
||||
|
||||
from .core_nwb_base import (
|
||||
TimeSeriesSync,
|
||||
NWBContainer,
|
||||
TimeSeries,
|
||||
TimeSeriesStartingTime,
|
||||
TimeSeriesSync,
|
||||
)
|
||||
|
||||
|
||||
|
|
|
@ -53,16 +53,16 @@ if TYPE_CHECKING:
|
|||
import numpy as np
|
||||
|
||||
|
||||
from .core_nwb_image import ImageSeriesExternalFile, ImageSeries
|
||||
|
||||
from .core_nwb_base import (
|
||||
NWBDataInterface,
|
||||
TimeSeriesStartingTime,
|
||||
TimeSeriesSync,
|
||||
NWBDataInterface,
|
||||
TimeSeries,
|
||||
NWBContainer,
|
||||
)
|
||||
|
||||
from .core_nwb_image import ImageSeriesExternalFile, ImageSeries
|
||||
|
||||
from ...hdmf_common.v1_1_2.hdmf_common_table import DynamicTable, DynamicTableRegion
|
||||
|
||||
|
||||
|
@ -117,8 +117,8 @@ class TwoPhotonSeries(ImageSeries):
|
|||
)
|
||||
field_of_view: Optional[
|
||||
Union[
|
||||
NDArray[Shape["2 width|height"], float],
|
||||
NDArray[Shape["3 width|height"], float],
|
||||
NDArray[Shape["2 width_height"], float],
|
||||
NDArray[Shape["3 width_height"], float],
|
||||
]
|
||||
] = Field(
|
||||
None,
|
||||
|
@ -179,7 +179,7 @@ class RoiResponseSeries(TimeSeries):
|
|||
name: str = Field(...)
|
||||
data: Union[
|
||||
NDArray[Shape["* num_times"], float],
|
||||
NDArray[Shape["* num_times, * num_ROIs"], float],
|
||||
NDArray[Shape["* num_times, * num_rois"], float],
|
||||
] = Field(..., description="""Signals from ROIs.""")
|
||||
rois: str = Field(
|
||||
...,
|
||||
|
@ -325,8 +325,8 @@ class ImagingPlaneManifold(ConfiguredBaseModel):
|
|||
)
|
||||
array: Optional[
|
||||
Union[
|
||||
NDArray[Shape["* height, * width, * depth, 3 x, y, z"], float],
|
||||
NDArray[Shape["* height, * width, 3 x, y, z"], float],
|
||||
NDArray[Shape["* height, * width, * depth, 3 x_y_z"], float],
|
||||
NDArray[Shape["* height, * width, 3 x_y_z"], float],
|
||||
]
|
||||
] = Field(None)
|
||||
|
||||
|
@ -342,7 +342,7 @@ class ImagingPlaneOriginCoords(ConfiguredBaseModel):
|
|||
None,
|
||||
description="""Measurement units for origin_coords. The default value is 'meters'.""",
|
||||
)
|
||||
array: Optional[NDArray[Shape["2 x, y, 3 x, y, z"], float]] = Field(None)
|
||||
array: Optional[NDArray[Shape["2 x_y, 3 x_y_z"], float]] = Field(None)
|
||||
|
||||
|
||||
class ImagingPlaneGridSpacing(ConfiguredBaseModel):
|
||||
|
@ -356,7 +356,7 @@ class ImagingPlaneGridSpacing(ConfiguredBaseModel):
|
|||
None,
|
||||
description="""Measurement units for grid_spacing. The default value is 'meters'.""",
|
||||
)
|
||||
array: Optional[NDArray[Shape["2 x, y, 3 x, y, z"], float]] = Field(None)
|
||||
array: Optional[NDArray[Shape["2 x_y, 3 x_y_z"], float]] = Field(None)
|
||||
|
||||
|
||||
class OpticalChannel(NWBContainer):
|
||||
|
|
|
@ -53,7 +53,7 @@ if TYPE_CHECKING:
|
|||
import numpy as np
|
||||
|
||||
|
||||
from .core_nwb_base import NWBData, NWBDataInterface
|
||||
from .core_nwb_base import NWBDataInterface, NWBData
|
||||
|
||||
from .core_nwb_image import GrayscaleImage
|
||||
|
||||
|
@ -162,8 +162,8 @@ class RetinotopyImage(GrayscaleImage):
|
|||
array: Optional[
|
||||
Union[
|
||||
NDArray[Shape["* x, * y"], float],
|
||||
NDArray[Shape["* x, * y, 3 r, g, b"], float],
|
||||
NDArray[Shape["* x, * y, 4 r, g, b, a"], float],
|
||||
NDArray[Shape["* x, * y, 3 r_g_b"], float],
|
||||
NDArray[Shape["* x, * y, 4 r_g_b_a"], float],
|
||||
]
|
||||
] = Field(None)
|
||||
|
||||
|
@ -336,8 +336,8 @@ class ImagingRetinotopyFocalDepthImage(RetinotopyImage):
|
|||
array: Optional[
|
||||
Union[
|
||||
NDArray[Shape["* x, * y"], float],
|
||||
NDArray[Shape["* x, * y, 3 r, g, b"], float],
|
||||
NDArray[Shape["* x, * y, 4 r, g, b, a"], float],
|
||||
NDArray[Shape["* x, * y, 3 r_g_b"], float],
|
||||
NDArray[Shape["* x, * y, 4 r_g_b_a"], float],
|
||||
]
|
||||
] = Field(None)
|
||||
|
||||
|
@ -372,8 +372,8 @@ class ImagingRetinotopyVasculatureImage(RetinotopyImage):
|
|||
array: Optional[
|
||||
Union[
|
||||
NDArray[Shape["* x, * y"], float],
|
||||
NDArray[Shape["* x, * y, 3 r, g, b"], float],
|
||||
NDArray[Shape["* x, * y, 4 r, g, b, a"], float],
|
||||
NDArray[Shape["* x, * y, 3 r_g_b"], float],
|
||||
NDArray[Shape["* x, * y, 4 r_g_b_a"], float],
|
||||
]
|
||||
] = Field(None)
|
||||
|
||||
|
|
|
@ -53,7 +53,7 @@ if TYPE_CHECKING:
|
|||
import numpy as np
|
||||
|
||||
|
||||
from ...hdmf_common.v1_1_3.hdmf_common_table import Container, Data, DynamicTable
|
||||
from ...hdmf_common.v1_1_3.hdmf_common_table import Data, Container, DynamicTable
|
||||
|
||||
|
||||
metamodel_version = "None"
|
||||
|
@ -118,8 +118,8 @@ class Image(NWBData):
|
|||
array: Optional[
|
||||
Union[
|
||||
NDArray[Shape["* x, * y"], float],
|
||||
NDArray[Shape["* x, * y, 3 r, g, b"], float],
|
||||
NDArray[Shape["* x, * y, 4 r, g, b, a"], float],
|
||||
NDArray[Shape["* x, * y, 3 r_g_b"], float],
|
||||
NDArray[Shape["* x, * y, 4 r_g_b_a"], float],
|
||||
]
|
||||
] = Field(None)
|
||||
|
||||
|
@ -204,9 +204,9 @@ class TimeSeriesData(ConfiguredBaseModel):
|
|||
array: Optional[
|
||||
Union[
|
||||
NDArray[Shape["* num_times"], Any],
|
||||
NDArray[Shape["* num_times, * num_DIM2"], Any],
|
||||
NDArray[Shape["* num_times, * num_DIM2, * num_DIM3"], Any],
|
||||
NDArray[Shape["* num_times, * num_DIM2, * num_DIM3, * num_DIM4"], Any],
|
||||
NDArray[Shape["* num_times, * num_dim2"], Any],
|
||||
NDArray[Shape["* num_times, * num_dim2, * num_dim3"], Any],
|
||||
NDArray[Shape["* num_times, * num_dim2, * num_dim3, * num_dim4"], Any],
|
||||
]
|
||||
] = Field(None)
|
||||
|
||||
|
|
|
@ -53,16 +53,16 @@ if TYPE_CHECKING:
|
|||
import numpy as np
|
||||
|
||||
|
||||
from ...hdmf_common.v1_1_3.hdmf_common_table import DynamicTable, DynamicTableRegion
|
||||
|
||||
from .core_nwb_base import (
|
||||
TimeSeriesStartingTime,
|
||||
NWBDataInterface,
|
||||
TimeSeriesStartingTime,
|
||||
TimeSeriesSync,
|
||||
TimeSeries,
|
||||
NWBContainer,
|
||||
)
|
||||
|
||||
from ...hdmf_common.v1_1_3.hdmf_common_table import DynamicTable, DynamicTableRegion
|
||||
|
||||
|
||||
metamodel_version = "None"
|
||||
version = "2.2.2"
|
||||
|
|
|
@ -54,9 +54,9 @@ if TYPE_CHECKING:
|
|||
|
||||
|
||||
from ...hdmf_common.v1_1_3.hdmf_common_table import (
|
||||
VectorIndex,
|
||||
VectorData,
|
||||
DynamicTable,
|
||||
VectorIndex,
|
||||
)
|
||||
|
||||
from .core_nwb_base import TimeSeries
|
||||
|
|
|
@ -53,26 +53,26 @@ if TYPE_CHECKING:
|
|||
import numpy as np
|
||||
|
||||
|
||||
from .core_nwb_misc import Units
|
||||
|
||||
from .core_nwb_device import Device
|
||||
|
||||
from .core_nwb_ecephys import ElectrodeGroup
|
||||
|
||||
from .core_nwb_epoch import TimeIntervals
|
||||
|
||||
from .core_nwb_base import NWBContainer, TimeSeries, ProcessingModule, NWBDataInterface
|
||||
|
||||
from .core_nwb_ophys import ImagingPlane
|
||||
|
||||
from .core_nwb_icephys import SweepTable, IntracellularElectrode
|
||||
from .core_nwb_icephys import IntracellularElectrode, SweepTable
|
||||
|
||||
from .core_nwb_base import NWBContainer, TimeSeries, NWBDataInterface, ProcessingModule
|
||||
|
||||
from .core_nwb_epoch import TimeIntervals
|
||||
|
||||
from ...hdmf_common.v1_1_3.hdmf_common_table import (
|
||||
DynamicTable,
|
||||
VectorIndex,
|
||||
VectorData,
|
||||
DynamicTable,
|
||||
)
|
||||
|
||||
from .core_nwb_misc import Units
|
||||
|
||||
from .core_nwb_ogen import OptogeneticStimulusSite
|
||||
|
||||
|
||||
|
|
|
@ -61,9 +61,9 @@ from .core_nwb_base import (
|
|||
)
|
||||
|
||||
from ...hdmf_common.v1_1_3.hdmf_common_table import (
|
||||
DynamicTable,
|
||||
VectorIndex,
|
||||
VectorData,
|
||||
DynamicTable,
|
||||
)
|
||||
|
||||
|
||||
|
|
|
@ -53,7 +53,7 @@ if TYPE_CHECKING:
|
|||
import numpy as np
|
||||
|
||||
|
||||
from .core_nwb_base import TimeSeriesStartingTime, TimeSeriesSync, Image, TimeSeries
|
||||
from .core_nwb_base import Image, TimeSeriesStartingTime, TimeSeriesSync, TimeSeries
|
||||
|
||||
|
||||
metamodel_version = "None"
|
||||
|
@ -109,8 +109,8 @@ class GrayscaleImage(Image):
|
|||
array: Optional[
|
||||
Union[
|
||||
NDArray[Shape["* x, * y"], float],
|
||||
NDArray[Shape["* x, * y, 3 r, g, b"], float],
|
||||
NDArray[Shape["* x, * y, 4 r, g, b, a"], float],
|
||||
NDArray[Shape["* x, * y, 3 r_g_b"], float],
|
||||
NDArray[Shape["* x, * y, 4 r_g_b_a"], float],
|
||||
]
|
||||
] = Field(None)
|
||||
|
||||
|
@ -131,8 +131,8 @@ class RGBImage(Image):
|
|||
array: Optional[
|
||||
Union[
|
||||
NDArray[Shape["* x, * y"], float],
|
||||
NDArray[Shape["* x, * y, 3 r, g, b"], float],
|
||||
NDArray[Shape["* x, * y, 4 r, g, b, a"], float],
|
||||
NDArray[Shape["* x, * y, 3 r_g_b"], float],
|
||||
NDArray[Shape["* x, * y, 4 r_g_b_a"], float],
|
||||
]
|
||||
] = Field(None)
|
||||
|
||||
|
@ -153,8 +153,8 @@ class RGBAImage(Image):
|
|||
array: Optional[
|
||||
Union[
|
||||
NDArray[Shape["* x, * y"], float],
|
||||
NDArray[Shape["* x, * y, 3 r, g, b"], float],
|
||||
NDArray[Shape["* x, * y, 4 r, g, b, a"], float],
|
||||
NDArray[Shape["* x, * y, 3 r_g_b"], float],
|
||||
NDArray[Shape["* x, * y, 4 r_g_b_a"], float],
|
||||
]
|
||||
] = Field(None)
|
||||
|
||||
|
@ -291,8 +291,8 @@ class OpticalSeries(ImageSeries):
|
|||
)
|
||||
field_of_view: Optional[
|
||||
Union[
|
||||
NDArray[Shape["2 width, height"], float],
|
||||
NDArray[Shape["3 width, height, depth"], float],
|
||||
NDArray[Shape["2 width_height"], float],
|
||||
NDArray[Shape["3 width_height_depth"], float],
|
||||
]
|
||||
] = Field(
|
||||
None,
|
||||
|
@ -300,7 +300,7 @@ class OpticalSeries(ImageSeries):
|
|||
)
|
||||
data: Union[
|
||||
NDArray[Shape["* frame, * x, * y"], float],
|
||||
NDArray[Shape["* frame, * x, * y, 3 r, g, b"], float],
|
||||
NDArray[Shape["* frame, * x, * y, 3 r_g_b"], float],
|
||||
] = Field(
|
||||
..., description="""Images presented to subject, either grayscale or RGB"""
|
||||
)
|
||||
|
|
|
@ -54,10 +54,10 @@ if TYPE_CHECKING:
|
|||
|
||||
|
||||
from ...hdmf_common.v1_1_3.hdmf_common_table import (
|
||||
VectorIndex,
|
||||
VectorData,
|
||||
DynamicTable,
|
||||
DynamicTableRegion,
|
||||
VectorIndex,
|
||||
)
|
||||
|
||||
from .core_nwb_base import TimeSeriesStartingTime, TimeSeriesSync, TimeSeries
|
||||
|
@ -313,7 +313,7 @@ class DecompositionSeriesBands(DynamicTable):
|
|||
band_name: Optional[List[str] | str] = Field(
|
||||
default_factory=list, description="""Name of the band, e.g. theta."""
|
||||
)
|
||||
band_limits: NDArray[Shape["* num_bands, 2 low, high"], float] = Field(
|
||||
band_limits: NDArray[Shape["* num_bands, 2 low_high"], float] = Field(
|
||||
...,
|
||||
description="""Low and high limit of each band in Hz. If it is a Gaussian filter, use 2 SD on either side of the center.""",
|
||||
)
|
||||
|
@ -359,7 +359,7 @@ class Units(DynamicTable):
|
|||
obs_intervals_index: Optional[str] = Field(
|
||||
None, description="""Index into the obs_intervals dataset."""
|
||||
)
|
||||
obs_intervals: Optional[NDArray[Shape["* num_intervals, 2 start|end"], float]] = (
|
||||
obs_intervals: Optional[NDArray[Shape["* num_intervals, 2 start_end"], float]] = (
|
||||
Field(None, description="""Observation intervals for each unit.""")
|
||||
)
|
||||
electrodes_index: Optional[str] = Field(
|
||||
|
|
|
@ -54,10 +54,10 @@ if TYPE_CHECKING:
|
|||
|
||||
|
||||
from .core_nwb_base import (
|
||||
TimeSeriesSync,
|
||||
NWBContainer,
|
||||
TimeSeries,
|
||||
TimeSeriesStartingTime,
|
||||
TimeSeriesSync,
|
||||
)
|
||||
|
||||
|
||||
|
|
|
@ -53,16 +53,16 @@ if TYPE_CHECKING:
|
|||
import numpy as np
|
||||
|
||||
|
||||
from .core_nwb_image import ImageSeriesExternalFile, ImageSeries
|
||||
|
||||
from .core_nwb_base import (
|
||||
NWBDataInterface,
|
||||
TimeSeriesStartingTime,
|
||||
TimeSeriesSync,
|
||||
NWBDataInterface,
|
||||
TimeSeries,
|
||||
NWBContainer,
|
||||
)
|
||||
|
||||
from .core_nwb_image import ImageSeriesExternalFile, ImageSeries
|
||||
|
||||
from ...hdmf_common.v1_1_3.hdmf_common_table import DynamicTable, DynamicTableRegion
|
||||
|
||||
|
||||
|
@ -117,8 +117,8 @@ class TwoPhotonSeries(ImageSeries):
|
|||
)
|
||||
field_of_view: Optional[
|
||||
Union[
|
||||
NDArray[Shape["2 width|height"], float],
|
||||
NDArray[Shape["3 width|height"], float],
|
||||
NDArray[Shape["2 width_height"], float],
|
||||
NDArray[Shape["3 width_height"], float],
|
||||
]
|
||||
] = Field(
|
||||
None,
|
||||
|
@ -179,7 +179,7 @@ class RoiResponseSeries(TimeSeries):
|
|||
name: str = Field(...)
|
||||
data: Union[
|
||||
NDArray[Shape["* num_times"], float],
|
||||
NDArray[Shape["* num_times, * num_ROIs"], float],
|
||||
NDArray[Shape["* num_times, * num_rois"], float],
|
||||
] = Field(..., description="""Signals from ROIs.""")
|
||||
rois: str = Field(
|
||||
...,
|
||||
|
|
|
@ -114,7 +114,7 @@ class ImagingRetinotopy(NWBDataInterface):
|
|||
None,
|
||||
description="""Power response on the second measured axis. Response is scaled so 0.0 is no power in the response and 1.0 is maximum relative power.""",
|
||||
)
|
||||
axis_descriptions: NDArray[Shape["2 axis_1, axis_2"], str] = Field(
|
||||
axis_descriptions: NDArray[Shape["2 axis_1_axis_2"], str] = Field(
|
||||
...,
|
||||
description="""Two-element array describing the contents of the two response axis fields. Description should be something like ['altitude', 'azimuth'] or '['radius', 'theta'].""",
|
||||
)
|
||||
|
|
|
@ -53,7 +53,7 @@ if TYPE_CHECKING:
|
|||
import numpy as np
|
||||
|
||||
|
||||
from ...hdmf_common.v1_1_3.hdmf_common_table import Container, Data, DynamicTable
|
||||
from ...hdmf_common.v1_1_3.hdmf_common_table import Data, Container, DynamicTable
|
||||
|
||||
|
||||
metamodel_version = "None"
|
||||
|
@ -118,8 +118,8 @@ class Image(NWBData):
|
|||
array: Optional[
|
||||
Union[
|
||||
NDArray[Shape["* x, * y"], float],
|
||||
NDArray[Shape["* x, * y, 3 r, g, b"], float],
|
||||
NDArray[Shape["* x, * y, 4 r, g, b, a"], float],
|
||||
NDArray[Shape["* x, * y, 3 r_g_b"], float],
|
||||
NDArray[Shape["* x, * y, 4 r_g_b_a"], float],
|
||||
]
|
||||
] = Field(None)
|
||||
|
||||
|
@ -204,9 +204,9 @@ class TimeSeriesData(ConfiguredBaseModel):
|
|||
array: Optional[
|
||||
Union[
|
||||
NDArray[Shape["* num_times"], Any],
|
||||
NDArray[Shape["* num_times, * num_DIM2"], Any],
|
||||
NDArray[Shape["* num_times, * num_DIM2, * num_DIM3"], Any],
|
||||
NDArray[Shape["* num_times, * num_DIM2, * num_DIM3, * num_DIM4"], Any],
|
||||
NDArray[Shape["* num_times, * num_dim2"], Any],
|
||||
NDArray[Shape["* num_times, * num_dim2, * num_dim3"], Any],
|
||||
NDArray[Shape["* num_times, * num_dim2, * num_dim3, * num_dim4"], Any],
|
||||
]
|
||||
] = Field(None)
|
||||
|
||||
|
|
|
@ -53,16 +53,16 @@ if TYPE_CHECKING:
|
|||
import numpy as np
|
||||
|
||||
|
||||
from ...hdmf_common.v1_1_3.hdmf_common_table import DynamicTable, DynamicTableRegion
|
||||
|
||||
from .core_nwb_base import (
|
||||
TimeSeriesStartingTime,
|
||||
NWBDataInterface,
|
||||
TimeSeriesStartingTime,
|
||||
TimeSeriesSync,
|
||||
TimeSeries,
|
||||
NWBContainer,
|
||||
)
|
||||
|
||||
from ...hdmf_common.v1_1_3.hdmf_common_table import DynamicTable, DynamicTableRegion
|
||||
|
||||
|
||||
metamodel_version = "None"
|
||||
version = "2.2.4"
|
||||
|
|
|
@ -54,9 +54,9 @@ if TYPE_CHECKING:
|
|||
|
||||
|
||||
from ...hdmf_common.v1_1_3.hdmf_common_table import (
|
||||
VectorIndex,
|
||||
VectorData,
|
||||
DynamicTable,
|
||||
VectorIndex,
|
||||
)
|
||||
|
||||
from .core_nwb_base import TimeSeries
|
||||
|
|
|
@ -53,32 +53,32 @@ if TYPE_CHECKING:
|
|||
import numpy as np
|
||||
|
||||
|
||||
from .core_nwb_misc import Units
|
||||
|
||||
from .core_nwb_device import Device
|
||||
|
||||
from .core_nwb_ecephys import ElectrodeGroup
|
||||
|
||||
from .core_nwb_epoch import TimeIntervals
|
||||
from .core_nwb_ophys import ImagingPlane
|
||||
|
||||
from .core_nwb_icephys import IntracellularElectrode, SweepTable
|
||||
|
||||
from .core_nwb_base import (
|
||||
NWBContainer,
|
||||
NWBData,
|
||||
TimeSeries,
|
||||
ProcessingModule,
|
||||
NWBDataInterface,
|
||||
ProcessingModule,
|
||||
)
|
||||
|
||||
from .core_nwb_ophys import ImagingPlane
|
||||
|
||||
from .core_nwb_icephys import SweepTable, IntracellularElectrode
|
||||
from .core_nwb_epoch import TimeIntervals
|
||||
|
||||
from ...hdmf_common.v1_1_3.hdmf_common_table import (
|
||||
DynamicTable,
|
||||
VectorIndex,
|
||||
VectorData,
|
||||
DynamicTable,
|
||||
)
|
||||
|
||||
from .core_nwb_misc import Units
|
||||
|
||||
from .core_nwb_ogen import OptogeneticStimulusSite
|
||||
|
||||
|
||||
|
|
|
@ -61,9 +61,9 @@ from .core_nwb_base import (
|
|||
)
|
||||
|
||||
from ...hdmf_common.v1_1_3.hdmf_common_table import (
|
||||
DynamicTable,
|
||||
VectorIndex,
|
||||
VectorData,
|
||||
DynamicTable,
|
||||
)
|
||||
|
||||
|
||||
|
|
|
@ -53,7 +53,7 @@ if TYPE_CHECKING:
|
|||
import numpy as np
|
||||
|
||||
|
||||
from .core_nwb_base import TimeSeriesStartingTime, TimeSeriesSync, Image, TimeSeries
|
||||
from .core_nwb_base import Image, TimeSeriesStartingTime, TimeSeriesSync, TimeSeries
|
||||
|
||||
|
||||
metamodel_version = "None"
|
||||
|
@ -109,8 +109,8 @@ class GrayscaleImage(Image):
|
|||
array: Optional[
|
||||
Union[
|
||||
NDArray[Shape["* x, * y"], float],
|
||||
NDArray[Shape["* x, * y, 3 r, g, b"], float],
|
||||
NDArray[Shape["* x, * y, 4 r, g, b, a"], float],
|
||||
NDArray[Shape["* x, * y, 3 r_g_b"], float],
|
||||
NDArray[Shape["* x, * y, 4 r_g_b_a"], float],
|
||||
]
|
||||
] = Field(None)
|
||||
|
||||
|
@ -131,8 +131,8 @@ class RGBImage(Image):
|
|||
array: Optional[
|
||||
Union[
|
||||
NDArray[Shape["* x, * y"], float],
|
||||
NDArray[Shape["* x, * y, 3 r, g, b"], float],
|
||||
NDArray[Shape["* x, * y, 4 r, g, b, a"], float],
|
||||
NDArray[Shape["* x, * y, 3 r_g_b"], float],
|
||||
NDArray[Shape["* x, * y, 4 r_g_b_a"], float],
|
||||
]
|
||||
] = Field(None)
|
||||
|
||||
|
@ -153,8 +153,8 @@ class RGBAImage(Image):
|
|||
array: Optional[
|
||||
Union[
|
||||
NDArray[Shape["* x, * y"], float],
|
||||
NDArray[Shape["* x, * y, 3 r, g, b"], float],
|
||||
NDArray[Shape["* x, * y, 4 r, g, b, a"], float],
|
||||
NDArray[Shape["* x, * y, 3 r_g_b"], float],
|
||||
NDArray[Shape["* x, * y, 4 r_g_b_a"], float],
|
||||
]
|
||||
] = Field(None)
|
||||
|
||||
|
@ -291,8 +291,8 @@ class OpticalSeries(ImageSeries):
|
|||
)
|
||||
field_of_view: Optional[
|
||||
Union[
|
||||
NDArray[Shape["2 width, height"], float],
|
||||
NDArray[Shape["3 width, height, depth"], float],
|
||||
NDArray[Shape["2 width_height"], float],
|
||||
NDArray[Shape["3 width_height_depth"], float],
|
||||
]
|
||||
] = Field(
|
||||
None,
|
||||
|
@ -300,7 +300,7 @@ class OpticalSeries(ImageSeries):
|
|||
)
|
||||
data: Union[
|
||||
NDArray[Shape["* frame, * x, * y"], float],
|
||||
NDArray[Shape["* frame, * x, * y, 3 r, g, b"], float],
|
||||
NDArray[Shape["* frame, * x, * y, 3 r_g_b"], float],
|
||||
] = Field(
|
||||
..., description="""Images presented to subject, either grayscale or RGB"""
|
||||
)
|
||||
|
|
|
@ -54,10 +54,10 @@ if TYPE_CHECKING:
|
|||
|
||||
|
||||
from ...hdmf_common.v1_1_3.hdmf_common_table import (
|
||||
VectorIndex,
|
||||
VectorData,
|
||||
DynamicTable,
|
||||
DynamicTableRegion,
|
||||
VectorIndex,
|
||||
)
|
||||
|
||||
from .core_nwb_base import TimeSeriesStartingTime, TimeSeriesSync, TimeSeries
|
||||
|
@ -313,7 +313,7 @@ class DecompositionSeriesBands(DynamicTable):
|
|||
band_name: Optional[List[str] | str] = Field(
|
||||
default_factory=list, description="""Name of the band, e.g. theta."""
|
||||
)
|
||||
band_limits: NDArray[Shape["* num_bands, 2 low, high"], float] = Field(
|
||||
band_limits: NDArray[Shape["* num_bands, 2 low_high"], float] = Field(
|
||||
...,
|
||||
description="""Low and high limit of each band in Hz. If it is a Gaussian filter, use 2 SD on either side of the center.""",
|
||||
)
|
||||
|
@ -359,7 +359,7 @@ class Units(DynamicTable):
|
|||
obs_intervals_index: Optional[str] = Field(
|
||||
None, description="""Index into the obs_intervals dataset."""
|
||||
)
|
||||
obs_intervals: Optional[NDArray[Shape["* num_intervals, 2 start|end"], float]] = (
|
||||
obs_intervals: Optional[NDArray[Shape["* num_intervals, 2 start_end"], float]] = (
|
||||
Field(None, description="""Observation intervals for each unit.""")
|
||||
)
|
||||
electrodes_index: Optional[str] = Field(
|
||||
|
|
|
@ -54,10 +54,10 @@ if TYPE_CHECKING:
|
|||
|
||||
|
||||
from .core_nwb_base import (
|
||||
TimeSeriesSync,
|
||||
NWBContainer,
|
||||
TimeSeries,
|
||||
TimeSeriesStartingTime,
|
||||
TimeSeriesSync,
|
||||
)
|
||||
|
||||
|
||||
|
|
|
@ -53,15 +53,6 @@ if TYPE_CHECKING:
|
|||
import numpy as np
|
||||
|
||||
|
||||
from .core_nwb_image import ImageSeriesExternalFile, ImageSeries
|
||||
|
||||
from ...hdmf_common.v1_1_3.hdmf_common_table import (
|
||||
DynamicTableRegion,
|
||||
VectorData,
|
||||
VectorIndex,
|
||||
DynamicTable,
|
||||
)
|
||||
|
||||
from .core_nwb_base import (
|
||||
TimeSeriesStartingTime,
|
||||
NWBContainer,
|
||||
|
@ -70,6 +61,15 @@ from .core_nwb_base import (
|
|||
TimeSeriesSync,
|
||||
)
|
||||
|
||||
from .core_nwb_image import ImageSeries, ImageSeriesExternalFile
|
||||
|
||||
from ...hdmf_common.v1_1_3.hdmf_common_table import (
|
||||
DynamicTable,
|
||||
DynamicTableRegion,
|
||||
VectorIndex,
|
||||
VectorData,
|
||||
)
|
||||
|
||||
|
||||
metamodel_version = "None"
|
||||
version = "2.2.4"
|
||||
|
@ -122,8 +122,8 @@ class TwoPhotonSeries(ImageSeries):
|
|||
)
|
||||
field_of_view: Optional[
|
||||
Union[
|
||||
NDArray[Shape["2 width|height"], float],
|
||||
NDArray[Shape["3 width|height"], float],
|
||||
NDArray[Shape["2 width_height"], float],
|
||||
NDArray[Shape["3 width_height"], float],
|
||||
]
|
||||
] = Field(
|
||||
None,
|
||||
|
@ -184,7 +184,7 @@ class RoiResponseSeries(TimeSeries):
|
|||
name: str = Field(...)
|
||||
data: Union[
|
||||
NDArray[Shape["* num_times"], float],
|
||||
NDArray[Shape["* num_times, * num_ROIs"], float],
|
||||
NDArray[Shape["* num_times, * num_rois"], float],
|
||||
] = Field(..., description="""Signals from ROIs.""")
|
||||
rois: str = Field(
|
||||
...,
|
||||
|
|
|
@ -114,7 +114,7 @@ class ImagingRetinotopy(NWBDataInterface):
|
|||
None,
|
||||
description="""Power response on the second measured axis. Response is scaled so 0.0 is no power in the response and 1.0 is maximum relative power.""",
|
||||
)
|
||||
axis_descriptions: NDArray[Shape["2 axis_1, axis_2"], str] = Field(
|
||||
axis_descriptions: NDArray[Shape["2 axis_1_axis_2"], str] = Field(
|
||||
...,
|
||||
description="""Two-element array describing the contents of the two response axis fields. Description should be something like ['altitude', 'azimuth'] or '['radius', 'theta'].""",
|
||||
)
|
||||
|
|
|
@ -53,7 +53,7 @@ if TYPE_CHECKING:
|
|||
import numpy as np
|
||||
|
||||
|
||||
from ...hdmf_common.v1_1_3.hdmf_common_table import Container, Data, DynamicTable
|
||||
from ...hdmf_common.v1_1_3.hdmf_common_table import Data, Container, DynamicTable
|
||||
|
||||
|
||||
metamodel_version = "None"
|
||||
|
@ -118,8 +118,8 @@ class Image(NWBData):
|
|||
array: Optional[
|
||||
Union[
|
||||
NDArray[Shape["* x, * y"], float],
|
||||
NDArray[Shape["* x, * y, 3 r, g, b"], float],
|
||||
NDArray[Shape["* x, * y, 4 r, g, b, a"], float],
|
||||
NDArray[Shape["* x, * y, 3 r_g_b"], float],
|
||||
NDArray[Shape["* x, * y, 4 r_g_b_a"], float],
|
||||
]
|
||||
] = Field(None)
|
||||
|
||||
|
@ -204,9 +204,9 @@ class TimeSeriesData(ConfiguredBaseModel):
|
|||
array: Optional[
|
||||
Union[
|
||||
NDArray[Shape["* num_times"], Any],
|
||||
NDArray[Shape["* num_times, * num_DIM2"], Any],
|
||||
NDArray[Shape["* num_times, * num_DIM2, * num_DIM3"], Any],
|
||||
NDArray[Shape["* num_times, * num_DIM2, * num_DIM3, * num_DIM4"], Any],
|
||||
NDArray[Shape["* num_times, * num_dim2"], Any],
|
||||
NDArray[Shape["* num_times, * num_dim2, * num_dim3"], Any],
|
||||
NDArray[Shape["* num_times, * num_dim2, * num_dim3, * num_dim4"], Any],
|
||||
]
|
||||
] = Field(None)
|
||||
|
||||
|
|
|
@ -53,16 +53,16 @@ if TYPE_CHECKING:
|
|||
import numpy as np
|
||||
|
||||
|
||||
from ...hdmf_common.v1_1_3.hdmf_common_table import DynamicTable, DynamicTableRegion
|
||||
|
||||
from .core_nwb_base import (
|
||||
TimeSeriesStartingTime,
|
||||
NWBDataInterface,
|
||||
TimeSeriesStartingTime,
|
||||
TimeSeriesSync,
|
||||
TimeSeries,
|
||||
NWBContainer,
|
||||
)
|
||||
|
||||
from ...hdmf_common.v1_1_3.hdmf_common_table import DynamicTable, DynamicTableRegion
|
||||
|
||||
|
||||
metamodel_version = "None"
|
||||
version = "2.2.5"
|
||||
|
|
|
@ -54,9 +54,9 @@ if TYPE_CHECKING:
|
|||
|
||||
|
||||
from ...hdmf_common.v1_1_3.hdmf_common_table import (
|
||||
VectorIndex,
|
||||
VectorData,
|
||||
DynamicTable,
|
||||
VectorIndex,
|
||||
)
|
||||
|
||||
from .core_nwb_base import TimeSeries
|
||||
|
|
|
@ -53,32 +53,32 @@ if TYPE_CHECKING:
|
|||
import numpy as np
|
||||
|
||||
|
||||
from .core_nwb_misc import Units
|
||||
|
||||
from .core_nwb_device import Device
|
||||
|
||||
from .core_nwb_ecephys import ElectrodeGroup
|
||||
|
||||
from .core_nwb_epoch import TimeIntervals
|
||||
from .core_nwb_ophys import ImagingPlane
|
||||
|
||||
from .core_nwb_icephys import IntracellularElectrode, SweepTable
|
||||
|
||||
from .core_nwb_base import (
|
||||
NWBContainer,
|
||||
NWBData,
|
||||
TimeSeries,
|
||||
ProcessingModule,
|
||||
NWBDataInterface,
|
||||
ProcessingModule,
|
||||
)
|
||||
|
||||
from .core_nwb_ophys import ImagingPlane
|
||||
|
||||
from .core_nwb_icephys import SweepTable, IntracellularElectrode
|
||||
from .core_nwb_epoch import TimeIntervals
|
||||
|
||||
from ...hdmf_common.v1_1_3.hdmf_common_table import (
|
||||
DynamicTable,
|
||||
VectorIndex,
|
||||
VectorData,
|
||||
DynamicTable,
|
||||
)
|
||||
|
||||
from .core_nwb_misc import Units
|
||||
|
||||
from .core_nwb_ogen import OptogeneticStimulusSite
|
||||
|
||||
|
||||
|
|
|
@ -61,9 +61,9 @@ from .core_nwb_base import (
|
|||
)
|
||||
|
||||
from ...hdmf_common.v1_1_3.hdmf_common_table import (
|
||||
DynamicTable,
|
||||
VectorIndex,
|
||||
VectorData,
|
||||
DynamicTable,
|
||||
)
|
||||
|
||||
|
||||
|
|
|
@ -53,7 +53,7 @@ if TYPE_CHECKING:
|
|||
import numpy as np
|
||||
|
||||
|
||||
from .core_nwb_base import TimeSeriesStartingTime, TimeSeriesSync, Image, TimeSeries
|
||||
from .core_nwb_base import Image, TimeSeriesStartingTime, TimeSeriesSync, TimeSeries
|
||||
|
||||
|
||||
metamodel_version = "None"
|
||||
|
@ -109,8 +109,8 @@ class GrayscaleImage(Image):
|
|||
array: Optional[
|
||||
Union[
|
||||
NDArray[Shape["* x, * y"], float],
|
||||
NDArray[Shape["* x, * y, 3 r, g, b"], float],
|
||||
NDArray[Shape["* x, * y, 4 r, g, b, a"], float],
|
||||
NDArray[Shape["* x, * y, 3 r_g_b"], float],
|
||||
NDArray[Shape["* x, * y, 4 r_g_b_a"], float],
|
||||
]
|
||||
] = Field(None)
|
||||
|
||||
|
@ -131,8 +131,8 @@ class RGBImage(Image):
|
|||
array: Optional[
|
||||
Union[
|
||||
NDArray[Shape["* x, * y"], float],
|
||||
NDArray[Shape["* x, * y, 3 r, g, b"], float],
|
||||
NDArray[Shape["* x, * y, 4 r, g, b, a"], float],
|
||||
NDArray[Shape["* x, * y, 3 r_g_b"], float],
|
||||
NDArray[Shape["* x, * y, 4 r_g_b_a"], float],
|
||||
]
|
||||
] = Field(None)
|
||||
|
||||
|
@ -153,8 +153,8 @@ class RGBAImage(Image):
|
|||
array: Optional[
|
||||
Union[
|
||||
NDArray[Shape["* x, * y"], float],
|
||||
NDArray[Shape["* x, * y, 3 r, g, b"], float],
|
||||
NDArray[Shape["* x, * y, 4 r, g, b, a"], float],
|
||||
NDArray[Shape["* x, * y, 3 r_g_b"], float],
|
||||
NDArray[Shape["* x, * y, 4 r_g_b_a"], float],
|
||||
]
|
||||
] = Field(None)
|
||||
|
||||
|
@ -291,8 +291,8 @@ class OpticalSeries(ImageSeries):
|
|||
)
|
||||
field_of_view: Optional[
|
||||
Union[
|
||||
NDArray[Shape["2 width, height"], float],
|
||||
NDArray[Shape["3 width, height, depth"], float],
|
||||
NDArray[Shape["2 width_height"], float],
|
||||
NDArray[Shape["3 width_height_depth"], float],
|
||||
]
|
||||
] = Field(
|
||||
None,
|
||||
|
@ -300,7 +300,7 @@ class OpticalSeries(ImageSeries):
|
|||
)
|
||||
data: Union[
|
||||
NDArray[Shape["* frame, * x, * y"], float],
|
||||
NDArray[Shape["* frame, * x, * y, 3 r, g, b"], float],
|
||||
NDArray[Shape["* frame, * x, * y, 3 r_g_b"], float],
|
||||
] = Field(
|
||||
..., description="""Images presented to subject, either grayscale or RGB"""
|
||||
)
|
||||
|
|
|
@ -54,10 +54,10 @@ if TYPE_CHECKING:
|
|||
|
||||
|
||||
from ...hdmf_common.v1_1_3.hdmf_common_table import (
|
||||
VectorIndex,
|
||||
VectorData,
|
||||
DynamicTable,
|
||||
DynamicTableRegion,
|
||||
VectorIndex,
|
||||
)
|
||||
|
||||
from .core_nwb_base import TimeSeriesStartingTime, TimeSeriesSync, TimeSeries
|
||||
|
@ -313,7 +313,7 @@ class DecompositionSeriesBands(DynamicTable):
|
|||
band_name: Optional[List[str] | str] = Field(
|
||||
default_factory=list, description="""Name of the band, e.g. theta."""
|
||||
)
|
||||
band_limits: NDArray[Shape["* num_bands, 2 low, high"], float] = Field(
|
||||
band_limits: NDArray[Shape["* num_bands, 2 low_high"], float] = Field(
|
||||
...,
|
||||
description="""Low and high limit of each band in Hz. If it is a Gaussian filter, use 2 SD on either side of the center.""",
|
||||
)
|
||||
|
@ -359,7 +359,7 @@ class Units(DynamicTable):
|
|||
obs_intervals_index: Optional[str] = Field(
|
||||
None, description="""Index into the obs_intervals dataset."""
|
||||
)
|
||||
obs_intervals: Optional[NDArray[Shape["* num_intervals, 2 start|end"], float]] = (
|
||||
obs_intervals: Optional[NDArray[Shape["* num_intervals, 2 start_end"], float]] = (
|
||||
Field(None, description="""Observation intervals for each unit.""")
|
||||
)
|
||||
electrodes_index: Optional[str] = Field(
|
||||
|
|
|
@ -54,10 +54,10 @@ if TYPE_CHECKING:
|
|||
|
||||
|
||||
from .core_nwb_base import (
|
||||
TimeSeriesSync,
|
||||
NWBContainer,
|
||||
TimeSeries,
|
||||
TimeSeriesStartingTime,
|
||||
TimeSeriesSync,
|
||||
)
|
||||
|
||||
|
||||
|
|
|
@ -53,15 +53,6 @@ if TYPE_CHECKING:
|
|||
import numpy as np
|
||||
|
||||
|
||||
from .core_nwb_image import ImageSeriesExternalFile, ImageSeries
|
||||
|
||||
from ...hdmf_common.v1_1_3.hdmf_common_table import (
|
||||
DynamicTableRegion,
|
||||
VectorData,
|
||||
VectorIndex,
|
||||
DynamicTable,
|
||||
)
|
||||
|
||||
from .core_nwb_base import (
|
||||
TimeSeriesStartingTime,
|
||||
NWBContainer,
|
||||
|
@ -70,6 +61,15 @@ from .core_nwb_base import (
|
|||
TimeSeriesSync,
|
||||
)
|
||||
|
||||
from .core_nwb_image import ImageSeries, ImageSeriesExternalFile
|
||||
|
||||
from ...hdmf_common.v1_1_3.hdmf_common_table import (
|
||||
DynamicTable,
|
||||
DynamicTableRegion,
|
||||
VectorIndex,
|
||||
VectorData,
|
||||
)
|
||||
|
||||
|
||||
metamodel_version = "None"
|
||||
version = "2.2.5"
|
||||
|
@ -122,8 +122,8 @@ class TwoPhotonSeries(ImageSeries):
|
|||
)
|
||||
field_of_view: Optional[
|
||||
Union[
|
||||
NDArray[Shape["2 width|height"], float],
|
||||
NDArray[Shape["3 width|height|depth"], float],
|
||||
NDArray[Shape["2 width_height"], float],
|
||||
NDArray[Shape["3 width_height_depth"], float],
|
||||
]
|
||||
] = Field(
|
||||
None,
|
||||
|
@ -184,7 +184,7 @@ class RoiResponseSeries(TimeSeries):
|
|||
name: str = Field(...)
|
||||
data: Union[
|
||||
NDArray[Shape["* num_times"], float],
|
||||
NDArray[Shape["* num_times, * num_ROIs"], float],
|
||||
NDArray[Shape["* num_times, * num_rois"], float],
|
||||
] = Field(..., description="""Signals from ROIs.""")
|
||||
rois: str = Field(
|
||||
...,
|
||||
|
|
|
@ -114,7 +114,7 @@ class ImagingRetinotopy(NWBDataInterface):
|
|||
None,
|
||||
description="""Power response on the second measured axis. Response is scaled so 0.0 is no power in the response and 1.0 is maximum relative power.""",
|
||||
)
|
||||
axis_descriptions: NDArray[Shape["2 axis_1, axis_2"], str] = Field(
|
||||
axis_descriptions: NDArray[Shape["2 axis_1_axis_2"], str] = Field(
|
||||
...,
|
||||
description="""Two-element array describing the contents of the two response axis fields. Description should be something like ['altitude', 'azimuth'] or '['radius', 'theta'].""",
|
||||
)
|
||||
|
|
|
@ -53,7 +53,7 @@ if TYPE_CHECKING:
|
|||
import numpy as np
|
||||
|
||||
|
||||
from ...hdmf_common.v1_5_0.hdmf_common_base import Container, Data
|
||||
from ...hdmf_common.v1_5_0.hdmf_common_base import Data, Container
|
||||
|
||||
from ...hdmf_common.v1_5_0.hdmf_common_table import DynamicTable
|
||||
|
||||
|
@ -120,8 +120,8 @@ class Image(NWBData):
|
|||
array: Optional[
|
||||
Union[
|
||||
NDArray[Shape["* x, * y"], float],
|
||||
NDArray[Shape["* x, * y, 3 r, g, b"], float],
|
||||
NDArray[Shape["* x, * y, 4 r, g, b, a"], float],
|
||||
NDArray[Shape["* x, * y, 3 r_g_b"], float],
|
||||
NDArray[Shape["* x, * y, 4 r_g_b_a"], float],
|
||||
]
|
||||
] = Field(None)
|
||||
|
||||
|
@ -210,9 +210,9 @@ class TimeSeriesData(ConfiguredBaseModel):
|
|||
array: Optional[
|
||||
Union[
|
||||
NDArray[Shape["* num_times"], Any],
|
||||
NDArray[Shape["* num_times, * num_DIM2"], Any],
|
||||
NDArray[Shape["* num_times, * num_DIM2, * num_DIM3"], Any],
|
||||
NDArray[Shape["* num_times, * num_DIM2, * num_DIM3, * num_DIM4"], Any],
|
||||
NDArray[Shape["* num_times, * num_dim2"], Any],
|
||||
NDArray[Shape["* num_times, * num_dim2, * num_dim3"], Any],
|
||||
NDArray[Shape["* num_times, * num_dim2, * num_dim3, * num_dim4"], Any],
|
||||
]
|
||||
] = Field(None)
|
||||
|
||||
|
|
|
@ -53,16 +53,16 @@ if TYPE_CHECKING:
|
|||
import numpy as np
|
||||
|
||||
|
||||
from ...hdmf_common.v1_5_0.hdmf_common_table import DynamicTable, DynamicTableRegion
|
||||
|
||||
from .core_nwb_base import (
|
||||
TimeSeriesStartingTime,
|
||||
NWBDataInterface,
|
||||
TimeSeriesStartingTime,
|
||||
TimeSeriesSync,
|
||||
TimeSeries,
|
||||
NWBContainer,
|
||||
)
|
||||
|
||||
from ...hdmf_common.v1_5_0.hdmf_common_table import DynamicTable, DynamicTableRegion
|
||||
|
||||
|
||||
metamodel_version = "None"
|
||||
version = "2.3.0"
|
||||
|
|
|
@ -54,9 +54,9 @@ if TYPE_CHECKING:
|
|||
|
||||
|
||||
from ...hdmf_common.v1_5_0.hdmf_common_table import (
|
||||
VectorIndex,
|
||||
VectorData,
|
||||
DynamicTable,
|
||||
VectorIndex,
|
||||
)
|
||||
|
||||
from .core_nwb_base import TimeSeries
|
||||
|
|
|
@ -53,27 +53,27 @@ if TYPE_CHECKING:
|
|||
import numpy as np
|
||||
|
||||
|
||||
from .core_nwb_misc import Units
|
||||
|
||||
from .core_nwb_device import Device
|
||||
|
||||
from .core_nwb_ecephys import ElectrodeGroup
|
||||
|
||||
from .core_nwb_epoch import TimeIntervals
|
||||
from .core_nwb_ophys import ImagingPlane
|
||||
|
||||
from .core_nwb_icephys import IntracellularElectrode, SweepTable
|
||||
|
||||
from .core_nwb_base import (
|
||||
NWBContainer,
|
||||
NWBData,
|
||||
TimeSeries,
|
||||
ProcessingModule,
|
||||
NWBDataInterface,
|
||||
ProcessingModule,
|
||||
)
|
||||
|
||||
from .core_nwb_ophys import ImagingPlane
|
||||
from .core_nwb_epoch import TimeIntervals
|
||||
|
||||
from .core_nwb_icephys import SweepTable, IntracellularElectrode
|
||||
from ...hdmf_common.v1_5_0.hdmf_common_table import DynamicTable, VectorData
|
||||
|
||||
from ...hdmf_common.v1_5_0.hdmf_common_table import VectorData, DynamicTable
|
||||
from .core_nwb_misc import Units
|
||||
|
||||
from .core_nwb_ogen import OptogeneticStimulusSite
|
||||
|
||||
|
|
|
@ -61,9 +61,9 @@ from .core_nwb_base import (
|
|||
)
|
||||
|
||||
from ...hdmf_common.v1_5_0.hdmf_common_table import (
|
||||
DynamicTable,
|
||||
VectorIndex,
|
||||
VectorData,
|
||||
DynamicTable,
|
||||
)
|
||||
|
||||
|
||||
|
|
|
@ -53,7 +53,7 @@ if TYPE_CHECKING:
|
|||
import numpy as np
|
||||
|
||||
|
||||
from .core_nwb_base import TimeSeriesStartingTime, TimeSeriesSync, Image, TimeSeries
|
||||
from .core_nwb_base import Image, TimeSeriesStartingTime, TimeSeriesSync, TimeSeries
|
||||
|
||||
|
||||
metamodel_version = "None"
|
||||
|
@ -109,8 +109,8 @@ class GrayscaleImage(Image):
|
|||
array: Optional[
|
||||
Union[
|
||||
NDArray[Shape["* x, * y"], float],
|
||||
NDArray[Shape["* x, * y, 3 r, g, b"], float],
|
||||
NDArray[Shape["* x, * y, 4 r, g, b, a"], float],
|
||||
NDArray[Shape["* x, * y, 3 r_g_b"], float],
|
||||
NDArray[Shape["* x, * y, 4 r_g_b_a"], float],
|
||||
]
|
||||
] = Field(None)
|
||||
|
||||
|
@ -131,8 +131,8 @@ class RGBImage(Image):
|
|||
array: Optional[
|
||||
Union[
|
||||
NDArray[Shape["* x, * y"], float],
|
||||
NDArray[Shape["* x, * y, 3 r, g, b"], float],
|
||||
NDArray[Shape["* x, * y, 4 r, g, b, a"], float],
|
||||
NDArray[Shape["* x, * y, 3 r_g_b"], float],
|
||||
NDArray[Shape["* x, * y, 4 r_g_b_a"], float],
|
||||
]
|
||||
] = Field(None)
|
||||
|
||||
|
@ -153,8 +153,8 @@ class RGBAImage(Image):
|
|||
array: Optional[
|
||||
Union[
|
||||
NDArray[Shape["* x, * y"], float],
|
||||
NDArray[Shape["* x, * y, 3 r, g, b"], float],
|
||||
NDArray[Shape["* x, * y, 4 r, g, b, a"], float],
|
||||
NDArray[Shape["* x, * y, 3 r_g_b"], float],
|
||||
NDArray[Shape["* x, * y, 4 r_g_b_a"], float],
|
||||
]
|
||||
] = Field(None)
|
||||
|
||||
|
@ -291,8 +291,8 @@ class OpticalSeries(ImageSeries):
|
|||
)
|
||||
field_of_view: Optional[
|
||||
Union[
|
||||
NDArray[Shape["2 width, height"], float],
|
||||
NDArray[Shape["3 width, height, depth"], float],
|
||||
NDArray[Shape["2 width_height"], float],
|
||||
NDArray[Shape["3 width_height_depth"], float],
|
||||
]
|
||||
] = Field(
|
||||
None,
|
||||
|
@ -300,7 +300,7 @@ class OpticalSeries(ImageSeries):
|
|||
)
|
||||
data: Union[
|
||||
NDArray[Shape["* frame, * x, * y"], float],
|
||||
NDArray[Shape["* frame, * x, * y, 3 r, g, b"], float],
|
||||
NDArray[Shape["* frame, * x, * y, 3 r_g_b"], float],
|
||||
] = Field(
|
||||
..., description="""Images presented to subject, either grayscale or RGB"""
|
||||
)
|
||||
|
|
|
@ -53,16 +53,16 @@ if TYPE_CHECKING:
|
|||
import numpy as np
|
||||
|
||||
|
||||
from ...hdmf_common.v1_5_0.hdmf_common_table import (
|
||||
DynamicTableRegion,
|
||||
VectorIndex,
|
||||
VectorData,
|
||||
DynamicTable,
|
||||
)
|
||||
from .core_nwb_base import TimeSeriesStartingTime, TimeSeries, TimeSeriesSync
|
||||
|
||||
from .core_nwb_ecephys import ElectrodeGroup
|
||||
|
||||
from .core_nwb_base import TimeSeriesStartingTime, TimeSeries, TimeSeriesSync
|
||||
from ...hdmf_common.v1_5_0.hdmf_common_table import (
|
||||
DynamicTable,
|
||||
DynamicTableRegion,
|
||||
VectorIndex,
|
||||
VectorData,
|
||||
)
|
||||
|
||||
|
||||
metamodel_version = "None"
|
||||
|
@ -341,7 +341,7 @@ class DecompositionSeriesBands(DynamicTable):
|
|||
band_name: Optional[List[str] | str] = Field(
|
||||
default_factory=list, description="""Name of the band, e.g. theta."""
|
||||
)
|
||||
band_limits: NDArray[Shape["* num_bands, 2 low, high"], float] = Field(
|
||||
band_limits: NDArray[Shape["* num_bands, 2 low_high"], float] = Field(
|
||||
...,
|
||||
description="""Low and high limit of each band in Hz. If it is a Gaussian filter, use 2 SD on either side of the center.""",
|
||||
)
|
||||
|
@ -384,7 +384,7 @@ class Units(DynamicTable):
|
|||
obs_intervals_index: Optional[str] = Field(
|
||||
None, description="""Index into the obs_intervals dataset."""
|
||||
)
|
||||
obs_intervals: Optional[NDArray[Shape["* num_intervals, 2 start|end"], float]] = (
|
||||
obs_intervals: Optional[NDArray[Shape["* num_intervals, 2 start_end"], float]] = (
|
||||
Field(None, description="""Observation intervals for each unit.""")
|
||||
)
|
||||
electrodes_index: Optional[str] = Field(
|
||||
|
|
|
@ -54,10 +54,10 @@ if TYPE_CHECKING:
|
|||
|
||||
|
||||
from .core_nwb_base import (
|
||||
TimeSeriesSync,
|
||||
NWBContainer,
|
||||
TimeSeries,
|
||||
TimeSeriesStartingTime,
|
||||
TimeSeriesSync,
|
||||
)
|
||||
|
||||
|
||||
|
|
|
@ -53,15 +53,6 @@ if TYPE_CHECKING:
|
|||
import numpy as np
|
||||
|
||||
|
||||
from .core_nwb_image import ImageSeriesExternalFile, ImageSeries
|
||||
|
||||
from ...hdmf_common.v1_5_0.hdmf_common_table import (
|
||||
DynamicTableRegion,
|
||||
VectorData,
|
||||
VectorIndex,
|
||||
DynamicTable,
|
||||
)
|
||||
|
||||
from .core_nwb_base import (
|
||||
TimeSeriesStartingTime,
|
||||
NWBContainer,
|
||||
|
@ -70,6 +61,15 @@ from .core_nwb_base import (
|
|||
TimeSeriesSync,
|
||||
)
|
||||
|
||||
from .core_nwb_image import ImageSeries, ImageSeriesExternalFile
|
||||
|
||||
from ...hdmf_common.v1_5_0.hdmf_common_table import (
|
||||
DynamicTable,
|
||||
DynamicTableRegion,
|
||||
VectorIndex,
|
||||
VectorData,
|
||||
)
|
||||
|
||||
|
||||
metamodel_version = "None"
|
||||
version = "2.3.0"
|
||||
|
@ -122,8 +122,8 @@ class TwoPhotonSeries(ImageSeries):
|
|||
)
|
||||
field_of_view: Optional[
|
||||
Union[
|
||||
NDArray[Shape["2 width|height"], float],
|
||||
NDArray[Shape["3 width|height|depth"], float],
|
||||
NDArray[Shape["2 width_height"], float],
|
||||
NDArray[Shape["3 width_height_depth"], float],
|
||||
]
|
||||
] = Field(
|
||||
None,
|
||||
|
@ -184,7 +184,7 @@ class RoiResponseSeries(TimeSeries):
|
|||
name: str = Field(...)
|
||||
data: Union[
|
||||
NDArray[Shape["* num_times"], float],
|
||||
NDArray[Shape["* num_times, * num_ROIs"], float],
|
||||
NDArray[Shape["* num_times, * num_rois"], float],
|
||||
] = Field(..., description="""Signals from ROIs.""")
|
||||
rois: str = Field(
|
||||
...,
|
||||
|
|
|
@ -114,7 +114,7 @@ class ImagingRetinotopy(NWBDataInterface):
|
|||
None,
|
||||
description="""Power response on the second measured axis. Response is scaled so 0.0 is no power in the response and 1.0 is maximum relative power.""",
|
||||
)
|
||||
axis_descriptions: NDArray[Shape["2 axis_1, axis_2"], str] = Field(
|
||||
axis_descriptions: NDArray[Shape["2 axis_1_axis_2"], str] = Field(
|
||||
...,
|
||||
description="""Two-element array describing the contents of the two response axis fields. Description should be something like ['altitude', 'azimuth'] or '['radius', 'theta'].""",
|
||||
)
|
||||
|
|
|
@ -53,9 +53,9 @@ if TYPE_CHECKING:
|
|||
import numpy as np
|
||||
|
||||
|
||||
from ...hdmf_common.v1_5_0.hdmf_common_table import VectorData, DynamicTable
|
||||
from ...hdmf_common.v1_5_0.hdmf_common_base import Data, Container
|
||||
|
||||
from ...hdmf_common.v1_5_0.hdmf_common_base import Container, Data
|
||||
from ...hdmf_common.v1_5_0.hdmf_common_table import VectorData, DynamicTable
|
||||
|
||||
|
||||
metamodel_version = "None"
|
||||
|
@ -151,8 +151,8 @@ class Image(NWBData):
|
|||
array: Optional[
|
||||
Union[
|
||||
NDArray[Shape["* x, * y"], float],
|
||||
NDArray[Shape["* x, * y, 3 r, g, b"], float],
|
||||
NDArray[Shape["* x, * y, 4 r, g, b, a"], float],
|
||||
NDArray[Shape["* x, * y, 3 r_g_b"], float],
|
||||
NDArray[Shape["* x, * y, 4 r_g_b_a"], float],
|
||||
]
|
||||
] = Field(None)
|
||||
|
||||
|
@ -241,9 +241,9 @@ class TimeSeriesData(ConfiguredBaseModel):
|
|||
array: Optional[
|
||||
Union[
|
||||
NDArray[Shape["* num_times"], Any],
|
||||
NDArray[Shape["* num_times, * num_DIM2"], Any],
|
||||
NDArray[Shape["* num_times, * num_DIM2, * num_DIM3"], Any],
|
||||
NDArray[Shape["* num_times, * num_DIM2, * num_DIM3, * num_DIM4"], Any],
|
||||
NDArray[Shape["* num_times, * num_dim2"], Any],
|
||||
NDArray[Shape["* num_times, * num_dim2, * num_dim3"], Any],
|
||||
NDArray[Shape["* num_times, * num_dim2, * num_dim3, * num_dim4"], Any],
|
||||
]
|
||||
] = Field(None)
|
||||
|
||||
|
|
|
@ -53,16 +53,16 @@ if TYPE_CHECKING:
|
|||
import numpy as np
|
||||
|
||||
|
||||
from ...hdmf_common.v1_5_0.hdmf_common_table import DynamicTable, DynamicTableRegion
|
||||
|
||||
from .core_nwb_base import (
|
||||
TimeSeriesStartingTime,
|
||||
NWBDataInterface,
|
||||
TimeSeriesStartingTime,
|
||||
TimeSeriesSync,
|
||||
TimeSeries,
|
||||
NWBContainer,
|
||||
)
|
||||
|
||||
from ...hdmf_common.v1_5_0.hdmf_common_table import DynamicTable, DynamicTableRegion
|
||||
|
||||
|
||||
metamodel_version = "None"
|
||||
version = "2.4.0"
|
||||
|
|
|
@ -54,9 +54,9 @@ if TYPE_CHECKING:
|
|||
|
||||
|
||||
from ...hdmf_common.v1_5_0.hdmf_common_table import (
|
||||
VectorIndex,
|
||||
VectorData,
|
||||
DynamicTable,
|
||||
VectorIndex,
|
||||
)
|
||||
|
||||
from .core_nwb_base import TimeSeries
|
||||
|
|
|
@ -53,35 +53,35 @@ if TYPE_CHECKING:
|
|||
import numpy as np
|
||||
|
||||
|
||||
from .core_nwb_misc import Units
|
||||
|
||||
from .core_nwb_icephys import (
|
||||
RepetitionsTable,
|
||||
ExperimentalConditionsTable,
|
||||
SimultaneousRecordingsTable,
|
||||
IntracellularRecordingsTable,
|
||||
SweepTable,
|
||||
SequentialRecordingsTable,
|
||||
IntracellularRecordingsTable,
|
||||
SimultaneousRecordingsTable,
|
||||
IntracellularElectrode,
|
||||
ExperimentalConditionsTable,
|
||||
SweepTable,
|
||||
RepetitionsTable,
|
||||
)
|
||||
|
||||
from .core_nwb_device import Device
|
||||
|
||||
from .core_nwb_ecephys import ElectrodeGroup
|
||||
|
||||
from .core_nwb_epoch import TimeIntervals
|
||||
from .core_nwb_ophys import ImagingPlane
|
||||
|
||||
from .core_nwb_base import (
|
||||
NWBContainer,
|
||||
NWBData,
|
||||
TimeSeries,
|
||||
ProcessingModule,
|
||||
NWBDataInterface,
|
||||
ProcessingModule,
|
||||
)
|
||||
|
||||
from .core_nwb_ophys import ImagingPlane
|
||||
from .core_nwb_epoch import TimeIntervals
|
||||
|
||||
from ...hdmf_common.v1_5_0.hdmf_common_table import VectorData, DynamicTable
|
||||
from ...hdmf_common.v1_5_0.hdmf_common_table import DynamicTable, VectorData
|
||||
|
||||
from .core_nwb_misc import Units
|
||||
|
||||
from .core_nwb_ogen import OptogeneticStimulusSite
|
||||
|
||||
|
|
|
@ -53,20 +53,20 @@ if TYPE_CHECKING:
|
|||
import numpy as np
|
||||
|
||||
|
||||
from ...hdmf_common.v1_5_0.hdmf_common_table import (
|
||||
DynamicTableRegion,
|
||||
AlignedDynamicTable,
|
||||
VectorIndex,
|
||||
VectorData,
|
||||
DynamicTable,
|
||||
)
|
||||
|
||||
from .core_nwb_base import (
|
||||
TimeSeriesStartingTime,
|
||||
TimeSeriesReferenceVectorData,
|
||||
NWBContainer,
|
||||
TimeSeries,
|
||||
TimeSeriesSync,
|
||||
TimeSeriesReferenceVectorData,
|
||||
)
|
||||
|
||||
from ...hdmf_common.v1_5_0.hdmf_common_table import (
|
||||
DynamicTable,
|
||||
DynamicTableRegion,
|
||||
VectorIndex,
|
||||
VectorData,
|
||||
AlignedDynamicTable,
|
||||
)
|
||||
|
||||
|
||||
|
|
|
@ -53,7 +53,7 @@ if TYPE_CHECKING:
|
|||
import numpy as np
|
||||
|
||||
|
||||
from .core_nwb_base import TimeSeriesStartingTime, TimeSeriesSync, Image, TimeSeries
|
||||
from .core_nwb_base import Image, TimeSeriesStartingTime, TimeSeriesSync, TimeSeries
|
||||
|
||||
|
||||
metamodel_version = "None"
|
||||
|
@ -109,8 +109,8 @@ class GrayscaleImage(Image):
|
|||
array: Optional[
|
||||
Union[
|
||||
NDArray[Shape["* x, * y"], float],
|
||||
NDArray[Shape["* x, * y, 3 r, g, b"], float],
|
||||
NDArray[Shape["* x, * y, 4 r, g, b, a"], float],
|
||||
NDArray[Shape["* x, * y, 3 r_g_b"], float],
|
||||
NDArray[Shape["* x, * y, 4 r_g_b_a"], float],
|
||||
]
|
||||
] = Field(None)
|
||||
|
||||
|
@ -131,8 +131,8 @@ class RGBImage(Image):
|
|||
array: Optional[
|
||||
Union[
|
||||
NDArray[Shape["* x, * y"], float],
|
||||
NDArray[Shape["* x, * y, 3 r, g, b"], float],
|
||||
NDArray[Shape["* x, * y, 4 r, g, b, a"], float],
|
||||
NDArray[Shape["* x, * y, 3 r_g_b"], float],
|
||||
NDArray[Shape["* x, * y, 4 r_g_b_a"], float],
|
||||
]
|
||||
] = Field(None)
|
||||
|
||||
|
@ -153,8 +153,8 @@ class RGBAImage(Image):
|
|||
array: Optional[
|
||||
Union[
|
||||
NDArray[Shape["* x, * y"], float],
|
||||
NDArray[Shape["* x, * y, 3 r, g, b"], float],
|
||||
NDArray[Shape["* x, * y, 4 r, g, b, a"], float],
|
||||
NDArray[Shape["* x, * y, 3 r_g_b"], float],
|
||||
NDArray[Shape["* x, * y, 4 r_g_b_a"], float],
|
||||
]
|
||||
] = Field(None)
|
||||
|
||||
|
@ -293,8 +293,8 @@ class OpticalSeries(ImageSeries):
|
|||
)
|
||||
field_of_view: Optional[
|
||||
Union[
|
||||
NDArray[Shape["2 width, height"], float],
|
||||
NDArray[Shape["3 width, height, depth"], float],
|
||||
NDArray[Shape["2 width_height"], float],
|
||||
NDArray[Shape["3 width_height_depth"], float],
|
||||
]
|
||||
] = Field(
|
||||
None,
|
||||
|
@ -302,7 +302,7 @@ class OpticalSeries(ImageSeries):
|
|||
)
|
||||
data: Union[
|
||||
NDArray[Shape["* frame, * x, * y"], float],
|
||||
NDArray[Shape["* frame, * x, * y, 3 r, g, b"], float],
|
||||
NDArray[Shape["* frame, * x, * y, 3 r_g_b"], float],
|
||||
] = Field(
|
||||
..., description="""Images presented to subject, either grayscale or RGB"""
|
||||
)
|
||||
|
|
|
@ -53,16 +53,16 @@ if TYPE_CHECKING:
|
|||
import numpy as np
|
||||
|
||||
|
||||
from ...hdmf_common.v1_5_0.hdmf_common_table import (
|
||||
DynamicTableRegion,
|
||||
VectorIndex,
|
||||
VectorData,
|
||||
DynamicTable,
|
||||
)
|
||||
from .core_nwb_base import TimeSeriesStartingTime, TimeSeries, TimeSeriesSync
|
||||
|
||||
from .core_nwb_ecephys import ElectrodeGroup
|
||||
|
||||
from .core_nwb_base import TimeSeriesStartingTime, TimeSeries, TimeSeriesSync
|
||||
from ...hdmf_common.v1_5_0.hdmf_common_table import (
|
||||
DynamicTable,
|
||||
DynamicTableRegion,
|
||||
VectorIndex,
|
||||
VectorData,
|
||||
)
|
||||
|
||||
|
||||
metamodel_version = "None"
|
||||
|
@ -341,7 +341,7 @@ class DecompositionSeriesBands(DynamicTable):
|
|||
band_name: Optional[List[str] | str] = Field(
|
||||
default_factory=list, description="""Name of the band, e.g. theta."""
|
||||
)
|
||||
band_limits: NDArray[Shape["* num_bands, 2 low, high"], float] = Field(
|
||||
band_limits: NDArray[Shape["* num_bands, 2 low_high"], float] = Field(
|
||||
...,
|
||||
description="""Low and high limit of each band in Hz. If it is a Gaussian filter, use 2 SD on either side of the center.""",
|
||||
)
|
||||
|
@ -384,7 +384,7 @@ class Units(DynamicTable):
|
|||
obs_intervals_index: Optional[str] = Field(
|
||||
None, description="""Index into the obs_intervals dataset."""
|
||||
)
|
||||
obs_intervals: Optional[NDArray[Shape["* num_intervals, 2 start|end"], float]] = (
|
||||
obs_intervals: Optional[NDArray[Shape["* num_intervals, 2 start_end"], float]] = (
|
||||
Field(None, description="""Observation intervals for each unit.""")
|
||||
)
|
||||
electrodes_index: Optional[str] = Field(
|
||||
|
|
|
@ -54,10 +54,10 @@ if TYPE_CHECKING:
|
|||
|
||||
|
||||
from .core_nwb_base import (
|
||||
TimeSeriesSync,
|
||||
NWBContainer,
|
||||
TimeSeries,
|
||||
TimeSeriesStartingTime,
|
||||
TimeSeriesSync,
|
||||
)
|
||||
|
||||
|
||||
|
|
|
@ -53,15 +53,6 @@ if TYPE_CHECKING:
|
|||
import numpy as np
|
||||
|
||||
|
||||
from .core_nwb_image import ImageSeriesExternalFile, ImageSeries
|
||||
|
||||
from ...hdmf_common.v1_5_0.hdmf_common_table import (
|
||||
DynamicTableRegion,
|
||||
VectorData,
|
||||
VectorIndex,
|
||||
DynamicTable,
|
||||
)
|
||||
|
||||
from .core_nwb_base import (
|
||||
TimeSeriesStartingTime,
|
||||
NWBContainer,
|
||||
|
@ -70,6 +61,15 @@ from .core_nwb_base import (
|
|||
TimeSeriesSync,
|
||||
)
|
||||
|
||||
from .core_nwb_image import ImageSeries, ImageSeriesExternalFile
|
||||
|
||||
from ...hdmf_common.v1_5_0.hdmf_common_table import (
|
||||
DynamicTable,
|
||||
DynamicTableRegion,
|
||||
VectorIndex,
|
||||
VectorData,
|
||||
)
|
||||
|
||||
|
||||
metamodel_version = "None"
|
||||
version = "2.4.0"
|
||||
|
@ -122,8 +122,8 @@ class TwoPhotonSeries(ImageSeries):
|
|||
)
|
||||
field_of_view: Optional[
|
||||
Union[
|
||||
NDArray[Shape["2 width|height"], float],
|
||||
NDArray[Shape["3 width|height|depth"], float],
|
||||
NDArray[Shape["2 width_height"], float],
|
||||
NDArray[Shape["3 width_height_depth"], float],
|
||||
]
|
||||
] = Field(
|
||||
None,
|
||||
|
@ -185,7 +185,7 @@ class RoiResponseSeries(TimeSeries):
|
|||
name: str = Field(...)
|
||||
data: Union[
|
||||
NDArray[Shape["* num_times"], float],
|
||||
NDArray[Shape["* num_times, * num_ROIs"], float],
|
||||
NDArray[Shape["* num_times, * num_rois"], float],
|
||||
] = Field(..., description="""Signals from ROIs.""")
|
||||
rois: str = Field(
|
||||
...,
|
||||
|
|
|
@ -114,7 +114,7 @@ class ImagingRetinotopy(NWBDataInterface):
|
|||
None,
|
||||
description="""Power response on the second measured axis. Response is scaled so 0.0 is no power in the response and 1.0 is maximum relative power.""",
|
||||
)
|
||||
axis_descriptions: NDArray[Shape["2 axis_1, axis_2"], str] = Field(
|
||||
axis_descriptions: NDArray[Shape["2 axis_1_axis_2"], str] = Field(
|
||||
...,
|
||||
description="""Two-element array describing the contents of the two response axis fields. Description should be something like ['altitude', 'azimuth'] or '['radius', 'theta'].""",
|
||||
)
|
||||
|
|
|
@ -53,9 +53,9 @@ if TYPE_CHECKING:
|
|||
import numpy as np
|
||||
|
||||
|
||||
from ...hdmf_common.v1_5_0.hdmf_common_table import VectorData, DynamicTable
|
||||
from ...hdmf_common.v1_5_0.hdmf_common_base import Data, Container
|
||||
|
||||
from ...hdmf_common.v1_5_0.hdmf_common_base import Container, Data
|
||||
from ...hdmf_common.v1_5_0.hdmf_common_table import VectorData, DynamicTable
|
||||
|
||||
|
||||
metamodel_version = "None"
|
||||
|
@ -151,8 +151,8 @@ class Image(NWBData):
|
|||
array: Optional[
|
||||
Union[
|
||||
NDArray[Shape["* x, * y"], float],
|
||||
NDArray[Shape["* x, * y, 3 r, g, b"], float],
|
||||
NDArray[Shape["* x, * y, 4 r, g, b, a"], float],
|
||||
NDArray[Shape["* x, * y, 3 r_g_b"], float],
|
||||
NDArray[Shape["* x, * y, 4 r_g_b_a"], float],
|
||||
]
|
||||
] = Field(None)
|
||||
|
||||
|
@ -258,9 +258,9 @@ class TimeSeriesData(ConfiguredBaseModel):
|
|||
array: Optional[
|
||||
Union[
|
||||
NDArray[Shape["* num_times"], Any],
|
||||
NDArray[Shape["* num_times, * num_DIM2"], Any],
|
||||
NDArray[Shape["* num_times, * num_DIM2, * num_DIM3"], Any],
|
||||
NDArray[Shape["* num_times, * num_DIM2, * num_DIM3, * num_DIM4"], Any],
|
||||
NDArray[Shape["* num_times, * num_dim2"], Any],
|
||||
NDArray[Shape["* num_times, * num_dim2, * num_dim3"], Any],
|
||||
NDArray[Shape["* num_times, * num_dim2, * num_dim3, * num_dim4"], Any],
|
||||
]
|
||||
] = Field(None)
|
||||
|
||||
|
|
|
@ -159,8 +159,8 @@ class SpatialSeriesData(ConfiguredBaseModel):
|
|||
Union[
|
||||
NDArray[Shape["* num_times"], float],
|
||||
NDArray[Shape["* num_times, 1 x"], float],
|
||||
NDArray[Shape["* num_times, 2 x,y"], float],
|
||||
NDArray[Shape["* num_times, 3 x,y,z"], float],
|
||||
NDArray[Shape["* num_times, 2 x_y"], float],
|
||||
NDArray[Shape["* num_times, 3 x_y_z"], float],
|
||||
]
|
||||
] = Field(None)
|
||||
|
||||
|
|
|
@ -53,16 +53,16 @@ if TYPE_CHECKING:
|
|||
import numpy as np
|
||||
|
||||
|
||||
from ...hdmf_common.v1_5_0.hdmf_common_table import DynamicTable, DynamicTableRegion
|
||||
|
||||
from .core_nwb_base import (
|
||||
TimeSeriesStartingTime,
|
||||
NWBDataInterface,
|
||||
TimeSeriesStartingTime,
|
||||
TimeSeriesSync,
|
||||
TimeSeries,
|
||||
NWBContainer,
|
||||
)
|
||||
|
||||
from ...hdmf_common.v1_5_0.hdmf_common_table import DynamicTable, DynamicTableRegion
|
||||
|
||||
|
||||
metamodel_version = "None"
|
||||
version = "2.5.0"
|
||||
|
|
|
@ -54,12 +54,12 @@ if TYPE_CHECKING:
|
|||
|
||||
|
||||
from ...hdmf_common.v1_5_0.hdmf_common_table import (
|
||||
VectorIndex,
|
||||
VectorData,
|
||||
DynamicTable,
|
||||
VectorIndex,
|
||||
)
|
||||
|
||||
from .core_nwb_base import TimeSeriesReferenceVectorData, TimeSeries
|
||||
from .core_nwb_base import TimeSeries, TimeSeriesReferenceVectorData
|
||||
|
||||
|
||||
metamodel_version = "None"
|
||||
|
|
|
@ -53,36 +53,36 @@ if TYPE_CHECKING:
|
|||
import numpy as np
|
||||
|
||||
|
||||
from .core_nwb_misc import Units
|
||||
|
||||
from .core_nwb_icephys import (
|
||||
RepetitionsTable,
|
||||
ExperimentalConditionsTable,
|
||||
SimultaneousRecordingsTable,
|
||||
IntracellularRecordingsTable,
|
||||
SweepTable,
|
||||
SequentialRecordingsTable,
|
||||
IntracellularRecordingsTable,
|
||||
SimultaneousRecordingsTable,
|
||||
IntracellularElectrode,
|
||||
ExperimentalConditionsTable,
|
||||
SweepTable,
|
||||
RepetitionsTable,
|
||||
)
|
||||
|
||||
from .core_nwb_device import Device
|
||||
|
||||
from .core_nwb_ecephys import ElectrodeGroup
|
||||
|
||||
from .core_nwb_epoch import TimeIntervals
|
||||
from .core_nwb_ophys import ImagingPlane
|
||||
|
||||
from .core_nwb_base import (
|
||||
NWBContainer,
|
||||
NWBData,
|
||||
TimeSeries,
|
||||
Images,
|
||||
ProcessingModule,
|
||||
NWBDataInterface,
|
||||
ProcessingModule,
|
||||
)
|
||||
|
||||
from .core_nwb_ophys import ImagingPlane
|
||||
from .core_nwb_epoch import TimeIntervals
|
||||
|
||||
from ...hdmf_common.v1_5_0.hdmf_common_table import VectorData, DynamicTable
|
||||
from ...hdmf_common.v1_5_0.hdmf_common_table import DynamicTable, VectorData
|
||||
|
||||
from .core_nwb_misc import Units
|
||||
|
||||
from .core_nwb_ogen import OptogeneticStimulusSite
|
||||
|
||||
|
|
|
@ -53,20 +53,20 @@ if TYPE_CHECKING:
|
|||
import numpy as np
|
||||
|
||||
|
||||
from ...hdmf_common.v1_5_0.hdmf_common_table import (
|
||||
DynamicTableRegion,
|
||||
AlignedDynamicTable,
|
||||
VectorIndex,
|
||||
VectorData,
|
||||
DynamicTable,
|
||||
)
|
||||
|
||||
from .core_nwb_base import (
|
||||
TimeSeriesStartingTime,
|
||||
TimeSeriesReferenceVectorData,
|
||||
NWBContainer,
|
||||
TimeSeries,
|
||||
TimeSeriesSync,
|
||||
TimeSeriesReferenceVectorData,
|
||||
)
|
||||
|
||||
from ...hdmf_common.v1_5_0.hdmf_common_table import (
|
||||
DynamicTable,
|
||||
DynamicTableRegion,
|
||||
VectorIndex,
|
||||
VectorData,
|
||||
AlignedDynamicTable,
|
||||
)
|
||||
|
||||
|
||||
|
|
|
@ -53,7 +53,7 @@ if TYPE_CHECKING:
|
|||
import numpy as np
|
||||
|
||||
|
||||
from .core_nwb_base import TimeSeriesStartingTime, TimeSeriesSync, Image, TimeSeries
|
||||
from .core_nwb_base import Image, TimeSeriesStartingTime, TimeSeriesSync, TimeSeries
|
||||
|
||||
|
||||
metamodel_version = "None"
|
||||
|
@ -109,8 +109,8 @@ class GrayscaleImage(Image):
|
|||
array: Optional[
|
||||
Union[
|
||||
NDArray[Shape["* x, * y"], float],
|
||||
NDArray[Shape["* x, * y, 3 r, g, b"], float],
|
||||
NDArray[Shape["* x, * y, 4 r, g, b, a"], float],
|
||||
NDArray[Shape["* x, * y, 3 r_g_b"], float],
|
||||
NDArray[Shape["* x, * y, 4 r_g_b_a"], float],
|
||||
]
|
||||
] = Field(None)
|
||||
|
||||
|
@ -131,8 +131,8 @@ class RGBImage(Image):
|
|||
array: Optional[
|
||||
Union[
|
||||
NDArray[Shape["* x, * y"], float],
|
||||
NDArray[Shape["* x, * y, 3 r, g, b"], float],
|
||||
NDArray[Shape["* x, * y, 4 r, g, b, a"], float],
|
||||
NDArray[Shape["* x, * y, 3 r_g_b"], float],
|
||||
NDArray[Shape["* x, * y, 4 r_g_b_a"], float],
|
||||
]
|
||||
] = Field(None)
|
||||
|
||||
|
@ -153,8 +153,8 @@ class RGBAImage(Image):
|
|||
array: Optional[
|
||||
Union[
|
||||
NDArray[Shape["* x, * y"], float],
|
||||
NDArray[Shape["* x, * y, 3 r, g, b"], float],
|
||||
NDArray[Shape["* x, * y, 4 r, g, b, a"], float],
|
||||
NDArray[Shape["* x, * y, 3 r_g_b"], float],
|
||||
NDArray[Shape["* x, * y, 4 r_g_b_a"], float],
|
||||
]
|
||||
] = Field(None)
|
||||
|
||||
|
@ -293,8 +293,8 @@ class OpticalSeries(ImageSeries):
|
|||
)
|
||||
field_of_view: Optional[
|
||||
Union[
|
||||
NDArray[Shape["2 width, height"], float],
|
||||
NDArray[Shape["3 width, height, depth"], float],
|
||||
NDArray[Shape["2 width_height"], float],
|
||||
NDArray[Shape["3 width_height_depth"], float],
|
||||
]
|
||||
] = Field(
|
||||
None,
|
||||
|
@ -302,7 +302,7 @@ class OpticalSeries(ImageSeries):
|
|||
)
|
||||
data: Union[
|
||||
NDArray[Shape["* frame, * x, * y"], float],
|
||||
NDArray[Shape["* frame, * x, * y, 3 r, g, b"], float],
|
||||
NDArray[Shape["* frame, * x, * y, 3 r_g_b"], float],
|
||||
] = Field(
|
||||
..., description="""Images presented to subject, either grayscale or RGB"""
|
||||
)
|
||||
|
|
|
@ -53,16 +53,16 @@ if TYPE_CHECKING:
|
|||
import numpy as np
|
||||
|
||||
|
||||
from ...hdmf_common.v1_5_0.hdmf_common_table import (
|
||||
DynamicTableRegion,
|
||||
VectorIndex,
|
||||
VectorData,
|
||||
DynamicTable,
|
||||
)
|
||||
from .core_nwb_base import TimeSeriesStartingTime, TimeSeries, TimeSeriesSync
|
||||
|
||||
from .core_nwb_ecephys import ElectrodeGroup
|
||||
|
||||
from .core_nwb_base import TimeSeriesStartingTime, TimeSeries, TimeSeriesSync
|
||||
from ...hdmf_common.v1_5_0.hdmf_common_table import (
|
||||
DynamicTable,
|
||||
DynamicTableRegion,
|
||||
VectorIndex,
|
||||
VectorData,
|
||||
)
|
||||
|
||||
|
||||
metamodel_version = "None"
|
||||
|
@ -341,7 +341,7 @@ class DecompositionSeriesBands(DynamicTable):
|
|||
band_name: Optional[List[str] | str] = Field(
|
||||
default_factory=list, description="""Name of the band, e.g. theta."""
|
||||
)
|
||||
band_limits: NDArray[Shape["* num_bands, 2 low, high"], float] = Field(
|
||||
band_limits: NDArray[Shape["* num_bands, 2 low_high"], float] = Field(
|
||||
...,
|
||||
description="""Low and high limit of each band in Hz. If it is a Gaussian filter, use 2 SD on either side of the center.""",
|
||||
)
|
||||
|
@ -384,7 +384,7 @@ class Units(DynamicTable):
|
|||
obs_intervals_index: Optional[str] = Field(
|
||||
None, description="""Index into the obs_intervals dataset."""
|
||||
)
|
||||
obs_intervals: Optional[NDArray[Shape["* num_intervals, 2 start|end"], float]] = (
|
||||
obs_intervals: Optional[NDArray[Shape["* num_intervals, 2 start_end"], float]] = (
|
||||
Field(None, description="""Observation intervals for each unit.""")
|
||||
)
|
||||
electrodes_index: Optional[str] = Field(
|
||||
|
|
|
@ -54,10 +54,10 @@ if TYPE_CHECKING:
|
|||
|
||||
|
||||
from .core_nwb_base import (
|
||||
TimeSeriesSync,
|
||||
NWBContainer,
|
||||
TimeSeries,
|
||||
TimeSeriesStartingTime,
|
||||
TimeSeriesSync,
|
||||
)
|
||||
|
||||
|
||||
|
|
|
@ -53,15 +53,6 @@ if TYPE_CHECKING:
|
|||
import numpy as np
|
||||
|
||||
|
||||
from .core_nwb_image import ImageSeriesExternalFile, ImageSeries
|
||||
|
||||
from ...hdmf_common.v1_5_0.hdmf_common_table import (
|
||||
DynamicTableRegion,
|
||||
VectorData,
|
||||
VectorIndex,
|
||||
DynamicTable,
|
||||
)
|
||||
|
||||
from .core_nwb_base import (
|
||||
TimeSeriesStartingTime,
|
||||
NWBContainer,
|
||||
|
@ -70,6 +61,15 @@ from .core_nwb_base import (
|
|||
TimeSeriesSync,
|
||||
)
|
||||
|
||||
from .core_nwb_image import ImageSeries, ImageSeriesExternalFile
|
||||
|
||||
from ...hdmf_common.v1_5_0.hdmf_common_table import (
|
||||
DynamicTable,
|
||||
DynamicTableRegion,
|
||||
VectorIndex,
|
||||
VectorData,
|
||||
)
|
||||
|
||||
|
||||
metamodel_version = "None"
|
||||
version = "2.5.0"
|
||||
|
@ -122,8 +122,8 @@ class TwoPhotonSeries(ImageSeries):
|
|||
)
|
||||
field_of_view: Optional[
|
||||
Union[
|
||||
NDArray[Shape["2 width|height"], float],
|
||||
NDArray[Shape["3 width|height|depth"], float],
|
||||
NDArray[Shape["2 width_height"], float],
|
||||
NDArray[Shape["3 width_height_depth"], float],
|
||||
]
|
||||
] = Field(
|
||||
None,
|
||||
|
@ -185,7 +185,7 @@ class RoiResponseSeries(TimeSeries):
|
|||
name: str = Field(...)
|
||||
data: Union[
|
||||
NDArray[Shape["* num_times"], float],
|
||||
NDArray[Shape["* num_times, * num_ROIs"], float],
|
||||
NDArray[Shape["* num_times, * num_rois"], float],
|
||||
] = Field(..., description="""Signals from ROIs.""")
|
||||
rois: str = Field(
|
||||
...,
|
||||
|
|
|
@ -114,7 +114,7 @@ class ImagingRetinotopy(NWBDataInterface):
|
|||
None,
|
||||
description="""Power response on the second measured axis. Response is scaled so 0.0 is no power in the response and 1.0 is maximum relative power.""",
|
||||
)
|
||||
axis_descriptions: NDArray[Shape["2 axis_1, axis_2"], str] = Field(
|
||||
axis_descriptions: NDArray[Shape["2 axis_1_axis_2"], str] = Field(
|
||||
...,
|
||||
description="""Two-element array describing the contents of the two response axis fields. Description should be something like ['altitude', 'azimuth'] or '['radius', 'theta'].""",
|
||||
)
|
||||
|
|
|
@ -53,9 +53,9 @@ if TYPE_CHECKING:
|
|||
import numpy as np
|
||||
|
||||
|
||||
from ...hdmf_common.v1_5_0.hdmf_common_table import VectorData, DynamicTable
|
||||
from ...hdmf_common.v1_5_0.hdmf_common_base import Data, Container
|
||||
|
||||
from ...hdmf_common.v1_5_0.hdmf_common_base import Container, Data
|
||||
from ...hdmf_common.v1_5_0.hdmf_common_table import VectorData, DynamicTable
|
||||
|
||||
|
||||
metamodel_version = "None"
|
||||
|
@ -151,8 +151,8 @@ class Image(NWBData):
|
|||
array: Optional[
|
||||
Union[
|
||||
NDArray[Shape["* x, * y"], float],
|
||||
NDArray[Shape["* x, * y, 3 r, g, b"], float],
|
||||
NDArray[Shape["* x, * y, 4 r, g, b, a"], float],
|
||||
NDArray[Shape["* x, * y, 3 r_g_b"], float],
|
||||
NDArray[Shape["* x, * y, 4 r_g_b_a"], float],
|
||||
]
|
||||
] = Field(None)
|
||||
|
||||
|
@ -258,9 +258,9 @@ class TimeSeriesData(ConfiguredBaseModel):
|
|||
array: Optional[
|
||||
Union[
|
||||
NDArray[Shape["* num_times"], Any],
|
||||
NDArray[Shape["* num_times, * num_DIM2"], Any],
|
||||
NDArray[Shape["* num_times, * num_DIM2, * num_DIM3"], Any],
|
||||
NDArray[Shape["* num_times, * num_DIM2, * num_DIM3, * num_DIM4"], Any],
|
||||
NDArray[Shape["* num_times, * num_dim2"], Any],
|
||||
NDArray[Shape["* num_times, * num_dim2, * num_dim3"], Any],
|
||||
NDArray[Shape["* num_times, * num_dim2, * num_dim3, * num_dim4"], Any],
|
||||
]
|
||||
] = Field(None)
|
||||
|
||||
|
|
|
@ -159,8 +159,8 @@ class SpatialSeriesData(ConfiguredBaseModel):
|
|||
Union[
|
||||
NDArray[Shape["* num_times"], float],
|
||||
NDArray[Shape["* num_times, 1 x"], float],
|
||||
NDArray[Shape["* num_times, 2 x,y"], float],
|
||||
NDArray[Shape["* num_times, 3 x,y,z"], float],
|
||||
NDArray[Shape["* num_times, 2 x_y"], float],
|
||||
NDArray[Shape["* num_times, 3 x_y_z"], float],
|
||||
]
|
||||
] = Field(None)
|
||||
|
||||
|
|
|
@ -53,16 +53,16 @@ if TYPE_CHECKING:
|
|||
import numpy as np
|
||||
|
||||
|
||||
from ...hdmf_common.v1_5_0.hdmf_common_table import DynamicTable, DynamicTableRegion
|
||||
|
||||
from .core_nwb_base import (
|
||||
TimeSeriesStartingTime,
|
||||
NWBDataInterface,
|
||||
TimeSeriesStartingTime,
|
||||
TimeSeriesSync,
|
||||
TimeSeries,
|
||||
NWBContainer,
|
||||
)
|
||||
|
||||
from ...hdmf_common.v1_5_0.hdmf_common_table import DynamicTable, DynamicTableRegion
|
||||
|
||||
|
||||
metamodel_version = "None"
|
||||
version = "2.6.0-alpha"
|
||||
|
|
|
@ -54,12 +54,12 @@ if TYPE_CHECKING:
|
|||
|
||||
|
||||
from ...hdmf_common.v1_5_0.hdmf_common_table import (
|
||||
VectorIndex,
|
||||
VectorData,
|
||||
DynamicTable,
|
||||
VectorIndex,
|
||||
)
|
||||
|
||||
from .core_nwb_base import TimeSeriesReferenceVectorData, TimeSeries
|
||||
from .core_nwb_base import TimeSeries, TimeSeriesReferenceVectorData
|
||||
|
||||
|
||||
metamodel_version = "None"
|
||||
|
|
|
@ -53,36 +53,36 @@ if TYPE_CHECKING:
|
|||
import numpy as np
|
||||
|
||||
|
||||
from .core_nwb_misc import Units
|
||||
|
||||
from .core_nwb_icephys import (
|
||||
RepetitionsTable,
|
||||
ExperimentalConditionsTable,
|
||||
SimultaneousRecordingsTable,
|
||||
IntracellularRecordingsTable,
|
||||
SweepTable,
|
||||
SequentialRecordingsTable,
|
||||
IntracellularRecordingsTable,
|
||||
SimultaneousRecordingsTable,
|
||||
IntracellularElectrode,
|
||||
ExperimentalConditionsTable,
|
||||
SweepTable,
|
||||
RepetitionsTable,
|
||||
)
|
||||
|
||||
from .core_nwb_device import Device
|
||||
|
||||
from .core_nwb_ecephys import ElectrodeGroup
|
||||
|
||||
from .core_nwb_epoch import TimeIntervals
|
||||
from .core_nwb_ophys import ImagingPlane
|
||||
|
||||
from .core_nwb_base import (
|
||||
NWBContainer,
|
||||
NWBData,
|
||||
TimeSeries,
|
||||
Images,
|
||||
ProcessingModule,
|
||||
NWBDataInterface,
|
||||
ProcessingModule,
|
||||
)
|
||||
|
||||
from .core_nwb_ophys import ImagingPlane
|
||||
from .core_nwb_epoch import TimeIntervals
|
||||
|
||||
from ...hdmf_common.v1_5_0.hdmf_common_table import VectorData, DynamicTable
|
||||
from ...hdmf_common.v1_5_0.hdmf_common_table import DynamicTable, VectorData
|
||||
|
||||
from .core_nwb_misc import Units
|
||||
|
||||
from .core_nwb_ogen import OptogeneticStimulusSite
|
||||
|
||||
|
|
|
@ -53,20 +53,20 @@ if TYPE_CHECKING:
|
|||
import numpy as np
|
||||
|
||||
|
||||
from ...hdmf_common.v1_5_0.hdmf_common_table import (
|
||||
DynamicTableRegion,
|
||||
AlignedDynamicTable,
|
||||
VectorIndex,
|
||||
VectorData,
|
||||
DynamicTable,
|
||||
)
|
||||
|
||||
from .core_nwb_base import (
|
||||
TimeSeriesStartingTime,
|
||||
TimeSeriesReferenceVectorData,
|
||||
NWBContainer,
|
||||
TimeSeries,
|
||||
TimeSeriesSync,
|
||||
TimeSeriesReferenceVectorData,
|
||||
)
|
||||
|
||||
from ...hdmf_common.v1_5_0.hdmf_common_table import (
|
||||
DynamicTable,
|
||||
DynamicTableRegion,
|
||||
VectorIndex,
|
||||
VectorData,
|
||||
AlignedDynamicTable,
|
||||
)
|
||||
|
||||
|
||||
|
|
|
@ -53,7 +53,7 @@ if TYPE_CHECKING:
|
|||
import numpy as np
|
||||
|
||||
|
||||
from .core_nwb_base import TimeSeriesStartingTime, TimeSeriesSync, Image, TimeSeries
|
||||
from .core_nwb_base import Image, TimeSeriesStartingTime, TimeSeriesSync, TimeSeries
|
||||
|
||||
|
||||
metamodel_version = "None"
|
||||
|
@ -109,8 +109,8 @@ class GrayscaleImage(Image):
|
|||
array: Optional[
|
||||
Union[
|
||||
NDArray[Shape["* x, * y"], float],
|
||||
NDArray[Shape["* x, * y, 3 r, g, b"], float],
|
||||
NDArray[Shape["* x, * y, 4 r, g, b, a"], float],
|
||||
NDArray[Shape["* x, * y, 3 r_g_b"], float],
|
||||
NDArray[Shape["* x, * y, 4 r_g_b_a"], float],
|
||||
]
|
||||
] = Field(None)
|
||||
|
||||
|
@ -131,8 +131,8 @@ class RGBImage(Image):
|
|||
array: Optional[
|
||||
Union[
|
||||
NDArray[Shape["* x, * y"], float],
|
||||
NDArray[Shape["* x, * y, 3 r, g, b"], float],
|
||||
NDArray[Shape["* x, * y, 4 r, g, b, a"], float],
|
||||
NDArray[Shape["* x, * y, 3 r_g_b"], float],
|
||||
NDArray[Shape["* x, * y, 4 r_g_b_a"], float],
|
||||
]
|
||||
] = Field(None)
|
||||
|
||||
|
@ -153,8 +153,8 @@ class RGBAImage(Image):
|
|||
array: Optional[
|
||||
Union[
|
||||
NDArray[Shape["* x, * y"], float],
|
||||
NDArray[Shape["* x, * y, 3 r, g, b"], float],
|
||||
NDArray[Shape["* x, * y, 4 r, g, b, a"], float],
|
||||
NDArray[Shape["* x, * y, 3 r_g_b"], float],
|
||||
NDArray[Shape["* x, * y, 4 r_g_b_a"], float],
|
||||
]
|
||||
] = Field(None)
|
||||
|
||||
|
@ -293,8 +293,8 @@ class OpticalSeries(ImageSeries):
|
|||
)
|
||||
field_of_view: Optional[
|
||||
Union[
|
||||
NDArray[Shape["2 width, height"], float],
|
||||
NDArray[Shape["3 width, height, depth"], float],
|
||||
NDArray[Shape["2 width_height"], float],
|
||||
NDArray[Shape["3 width_height_depth"], float],
|
||||
]
|
||||
] = Field(
|
||||
None,
|
||||
|
@ -302,7 +302,7 @@ class OpticalSeries(ImageSeries):
|
|||
)
|
||||
data: Union[
|
||||
NDArray[Shape["* frame, * x, * y"], float],
|
||||
NDArray[Shape["* frame, * x, * y, 3 r, g, b"], float],
|
||||
NDArray[Shape["* frame, * x, * y, 3 r_g_b"], float],
|
||||
] = Field(
|
||||
..., description="""Images presented to subject, either grayscale or RGB"""
|
||||
)
|
||||
|
|
|
@ -53,16 +53,16 @@ if TYPE_CHECKING:
|
|||
import numpy as np
|
||||
|
||||
|
||||
from ...hdmf_common.v1_5_0.hdmf_common_table import (
|
||||
DynamicTableRegion,
|
||||
VectorIndex,
|
||||
VectorData,
|
||||
DynamicTable,
|
||||
)
|
||||
from .core_nwb_base import TimeSeriesStartingTime, TimeSeries, TimeSeriesSync
|
||||
|
||||
from .core_nwb_ecephys import ElectrodeGroup
|
||||
|
||||
from .core_nwb_base import TimeSeriesStartingTime, TimeSeries, TimeSeriesSync
|
||||
from ...hdmf_common.v1_5_0.hdmf_common_table import (
|
||||
DynamicTable,
|
||||
DynamicTableRegion,
|
||||
VectorIndex,
|
||||
VectorData,
|
||||
)
|
||||
|
||||
|
||||
metamodel_version = "None"
|
||||
|
@ -341,7 +341,7 @@ class DecompositionSeriesBands(DynamicTable):
|
|||
band_name: Optional[List[str] | str] = Field(
|
||||
default_factory=list, description="""Name of the band, e.g. theta."""
|
||||
)
|
||||
band_limits: NDArray[Shape["* num_bands, 2 low, high"], float] = Field(
|
||||
band_limits: NDArray[Shape["* num_bands, 2 low_high"], float] = Field(
|
||||
...,
|
||||
description="""Low and high limit of each band in Hz. If it is a Gaussian filter, use 2 SD on either side of the center.""",
|
||||
)
|
||||
|
@ -384,7 +384,7 @@ class Units(DynamicTable):
|
|||
obs_intervals_index: Optional[str] = Field(
|
||||
None, description="""Index into the obs_intervals dataset."""
|
||||
)
|
||||
obs_intervals: Optional[NDArray[Shape["* num_intervals, 2 start|end"], float]] = (
|
||||
obs_intervals: Optional[NDArray[Shape["* num_intervals, 2 start_end"], float]] = (
|
||||
Field(None, description="""Observation intervals for each unit.""")
|
||||
)
|
||||
electrodes_index: Optional[str] = Field(
|
||||
|
|
|
@ -54,10 +54,10 @@ if TYPE_CHECKING:
|
|||
|
||||
|
||||
from .core_nwb_base import (
|
||||
TimeSeriesSync,
|
||||
NWBContainer,
|
||||
TimeSeries,
|
||||
TimeSeriesStartingTime,
|
||||
TimeSeriesSync,
|
||||
)
|
||||
|
||||
|
||||
|
|
|
@ -53,15 +53,6 @@ if TYPE_CHECKING:
|
|||
import numpy as np
|
||||
|
||||
|
||||
from .core_nwb_image import ImageSeriesExternalFile, ImageSeries
|
||||
|
||||
from ...hdmf_common.v1_5_0.hdmf_common_table import (
|
||||
DynamicTableRegion,
|
||||
VectorData,
|
||||
VectorIndex,
|
||||
DynamicTable,
|
||||
)
|
||||
|
||||
from .core_nwb_base import (
|
||||
TimeSeriesStartingTime,
|
||||
NWBContainer,
|
||||
|
@ -70,6 +61,15 @@ from .core_nwb_base import (
|
|||
TimeSeriesSync,
|
||||
)
|
||||
|
||||
from .core_nwb_image import ImageSeries, ImageSeriesExternalFile
|
||||
|
||||
from ...hdmf_common.v1_5_0.hdmf_common_table import (
|
||||
DynamicTable,
|
||||
DynamicTableRegion,
|
||||
VectorIndex,
|
||||
VectorData,
|
||||
)
|
||||
|
||||
|
||||
metamodel_version = "None"
|
||||
version = "2.6.0-alpha"
|
||||
|
@ -195,8 +195,8 @@ class TwoPhotonSeries(ImageSeries):
|
|||
)
|
||||
field_of_view: Optional[
|
||||
Union[
|
||||
NDArray[Shape["2 width|height"], float],
|
||||
NDArray[Shape["3 width|height|depth"], float],
|
||||
NDArray[Shape["2 width_height"], float],
|
||||
NDArray[Shape["3 width_height_depth"], float],
|
||||
]
|
||||
] = Field(
|
||||
None,
|
||||
|
@ -258,7 +258,7 @@ class RoiResponseSeries(TimeSeries):
|
|||
name: str = Field(...)
|
||||
data: Union[
|
||||
NDArray[Shape["* num_times"], float],
|
||||
NDArray[Shape["* num_times, * num_ROIs"], float],
|
||||
NDArray[Shape["* num_times, * num_rois"], float],
|
||||
] = Field(..., description="""Signals from ROIs.""")
|
||||
rois: str = Field(
|
||||
...,
|
||||
|
|
|
@ -114,7 +114,7 @@ class ImagingRetinotopy(NWBDataInterface):
|
|||
None,
|
||||
description="""Power response on the second measured axis. Response is scaled so 0.0 is no power in the response and 1.0 is maximum relative power.""",
|
||||
)
|
||||
axis_descriptions: NDArray[Shape["2 axis_1, axis_2"], str] = Field(
|
||||
axis_descriptions: NDArray[Shape["2 axis_1_axis_2"], str] = Field(
|
||||
...,
|
||||
description="""Two-element array describing the contents of the two response axis fields. Description should be something like ['altitude', 'azimuth'] or '['radius', 'theta'].""",
|
||||
)
|
||||
|
|
|
@ -53,9 +53,9 @@ if TYPE_CHECKING:
|
|||
import numpy as np
|
||||
|
||||
|
||||
from ...hdmf_common.v1_8_0.hdmf_common_table import VectorData, DynamicTable
|
||||
from ...hdmf_common.v1_8_0.hdmf_common_base import Data, Container
|
||||
|
||||
from ...hdmf_common.v1_8_0.hdmf_common_base import Container, Data
|
||||
from ...hdmf_common.v1_8_0.hdmf_common_table import VectorData, DynamicTable
|
||||
|
||||
|
||||
metamodel_version = "None"
|
||||
|
@ -151,8 +151,8 @@ class Image(NWBData):
|
|||
array: Optional[
|
||||
Union[
|
||||
NDArray[Shape["* x, * y"], float],
|
||||
NDArray[Shape["* x, * y, 3 r, g, b"], float],
|
||||
NDArray[Shape["* x, * y, 4 r, g, b, a"], float],
|
||||
NDArray[Shape["* x, * y, 3 r_g_b"], float],
|
||||
NDArray[Shape["* x, * y, 4 r_g_b_a"], float],
|
||||
]
|
||||
] = Field(None)
|
||||
|
||||
|
@ -258,9 +258,9 @@ class TimeSeriesData(ConfiguredBaseModel):
|
|||
array: Optional[
|
||||
Union[
|
||||
NDArray[Shape["* num_times"], Any],
|
||||
NDArray[Shape["* num_times, * num_DIM2"], Any],
|
||||
NDArray[Shape["* num_times, * num_DIM2, * num_DIM3"], Any],
|
||||
NDArray[Shape["* num_times, * num_DIM2, * num_DIM3, * num_DIM4"], Any],
|
||||
NDArray[Shape["* num_times, * num_dim2"], Any],
|
||||
NDArray[Shape["* num_times, * num_dim2, * num_dim3"], Any],
|
||||
NDArray[Shape["* num_times, * num_dim2, * num_dim3, * num_dim4"], Any],
|
||||
]
|
||||
] = Field(None)
|
||||
|
||||
|
|
|
@ -159,8 +159,8 @@ class SpatialSeriesData(ConfiguredBaseModel):
|
|||
Union[
|
||||
NDArray[Shape["* num_times"], float],
|
||||
NDArray[Shape["* num_times, 1 x"], float],
|
||||
NDArray[Shape["* num_times, 2 x,y"], float],
|
||||
NDArray[Shape["* num_times, 3 x,y,z"], float],
|
||||
NDArray[Shape["* num_times, 2 x_y"], float],
|
||||
NDArray[Shape["* num_times, 3 x_y_z"], float],
|
||||
]
|
||||
] = Field(None)
|
||||
|
||||
|
|
|
@ -53,16 +53,16 @@ if TYPE_CHECKING:
|
|||
import numpy as np
|
||||
|
||||
|
||||
from ...hdmf_common.v1_8_0.hdmf_common_table import DynamicTable, DynamicTableRegion
|
||||
|
||||
from .core_nwb_base import (
|
||||
TimeSeriesStartingTime,
|
||||
NWBDataInterface,
|
||||
TimeSeriesStartingTime,
|
||||
TimeSeriesSync,
|
||||
TimeSeries,
|
||||
NWBContainer,
|
||||
)
|
||||
|
||||
from ...hdmf_common.v1_8_0.hdmf_common_table import DynamicTable, DynamicTableRegion
|
||||
|
||||
|
||||
metamodel_version = "None"
|
||||
version = "2.7.0"
|
||||
|
|
|
@ -54,12 +54,12 @@ if TYPE_CHECKING:
|
|||
|
||||
|
||||
from ...hdmf_common.v1_8_0.hdmf_common_table import (
|
||||
VectorIndex,
|
||||
VectorData,
|
||||
DynamicTable,
|
||||
VectorIndex,
|
||||
)
|
||||
|
||||
from .core_nwb_base import TimeSeriesReferenceVectorData, TimeSeries
|
||||
from .core_nwb_base import TimeSeries, TimeSeriesReferenceVectorData
|
||||
|
||||
|
||||
metamodel_version = "None"
|
||||
|
|
|
@ -53,36 +53,36 @@ if TYPE_CHECKING:
|
|||
import numpy as np
|
||||
|
||||
|
||||
from .core_nwb_misc import Units
|
||||
|
||||
from .core_nwb_icephys import (
|
||||
RepetitionsTable,
|
||||
ExperimentalConditionsTable,
|
||||
SimultaneousRecordingsTable,
|
||||
IntracellularRecordingsTable,
|
||||
SweepTable,
|
||||
SequentialRecordingsTable,
|
||||
IntracellularRecordingsTable,
|
||||
SimultaneousRecordingsTable,
|
||||
IntracellularElectrode,
|
||||
ExperimentalConditionsTable,
|
||||
SweepTable,
|
||||
RepetitionsTable,
|
||||
)
|
||||
|
||||
from .core_nwb_device import Device
|
||||
|
||||
from .core_nwb_ecephys import ElectrodeGroup
|
||||
|
||||
from .core_nwb_epoch import TimeIntervals
|
||||
from .core_nwb_ophys import ImagingPlane
|
||||
|
||||
from .core_nwb_base import (
|
||||
NWBContainer,
|
||||
NWBData,
|
||||
TimeSeries,
|
||||
Images,
|
||||
ProcessingModule,
|
||||
NWBDataInterface,
|
||||
ProcessingModule,
|
||||
)
|
||||
|
||||
from .core_nwb_ophys import ImagingPlane
|
||||
from .core_nwb_epoch import TimeIntervals
|
||||
|
||||
from ...hdmf_common.v1_8_0.hdmf_common_table import VectorData, DynamicTable
|
||||
from ...hdmf_common.v1_8_0.hdmf_common_table import DynamicTable, VectorData
|
||||
|
||||
from .core_nwb_misc import Units
|
||||
|
||||
from .core_nwb_ogen import OptogeneticStimulusSite
|
||||
|
||||
|
|
|
@ -53,20 +53,20 @@ if TYPE_CHECKING:
|
|||
import numpy as np
|
||||
|
||||
|
||||
from ...hdmf_common.v1_8_0.hdmf_common_table import (
|
||||
DynamicTableRegion,
|
||||
AlignedDynamicTable,
|
||||
VectorIndex,
|
||||
VectorData,
|
||||
DynamicTable,
|
||||
)
|
||||
|
||||
from .core_nwb_base import (
|
||||
TimeSeriesStartingTime,
|
||||
TimeSeriesReferenceVectorData,
|
||||
NWBContainer,
|
||||
TimeSeries,
|
||||
TimeSeriesSync,
|
||||
TimeSeriesReferenceVectorData,
|
||||
)
|
||||
|
||||
from ...hdmf_common.v1_8_0.hdmf_common_table import (
|
||||
DynamicTable,
|
||||
DynamicTableRegion,
|
||||
VectorIndex,
|
||||
VectorData,
|
||||
AlignedDynamicTable,
|
||||
)
|
||||
|
||||
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue