- class neuroglancer.viewer_state.LayerDataSources
Public members¶
-
LayerDataSources(json_data=
None
, **kwargs) Initialize self. See help(type(self)) for accurate signature.
- __getitem__(key: int) -> LayerDataSource
Returns the element at the specified index.
- __delitem__(key: int)
Removes the element at the specified index.
- __setitem__(key: int, value: LayerDataSource)
- __setitem__(key: slice, value: Iterable[LayerDataSource])
Assigns to the specified index or slice.
- __iter__() -> Iterator[LayerDataSource]
Iterates over the values in the list.
- append(value: LayerDataSource)
Appends a value to the end of the list.
- extend(values: Iterable[LayerDataSource])
Extends the list with the specified values.
- insert(index: int, value: LayerDataSource)
Inserts the specified value at the specified index.
-
pop(index: int =
-1
) -> LayerDataSource Removes and returns the element at the specified index.
- to_json()
Returns the representation as a JSON array.
- __repr__()
Return repr(self).
-
LayerDataSources(json_data=