File tree Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Original file line number Diff line number Diff line change 4545class PET (BaseDataset [np .ndarray | None ]):
4646 """Data representation structure for PET data."""
4747
48- midframe : np .ndarray | None = attrs .field (
49- default = None , repr = _data_repr , eq = attrs .cmp_using (eq = _cmp )
50- )
48+ midframe : np .ndarray = attrs .field (default = None , repr = _data_repr , eq = attrs .cmp_using (eq = _cmp ))
5149 """A (N,) numpy array specifying the midpoint timing of each sample or frame."""
52- total_duration : float | None = attrs .field (default = None , repr = True )
50+ total_duration : float = attrs .field (default = None , repr = True )
5351 """A float representing the total duration of the dataset."""
54- uptake : np .ndarray | None = attrs .field (
55- default = None , repr = _data_repr , eq = attrs .cmp_using (eq = _cmp )
56- )
52+ uptake : np .ndarray = attrs .field (default = None , repr = _data_repr , eq = attrs .cmp_using (eq = _cmp ))
5753 """A (N,) numpy array specifying the uptake value of each sample or frame."""
5854
5955 def _getextra (self , idx : int | slice | tuple | np .ndarray ) -> tuple [np .ndarray | None ]:
You can’t perform that action at this time.
0 commit comments