Get rid of `indexing_class`, classes that don't want to use the standard indexing should set the `_indexing` attribute in their `__init__` function directly.
Simplify indexing interface, make `Indexing` class callable instead of using a `calc_indices` method
First step towards a more general indexing system where objects (e.g. subgroups) can be used directly as an argument where indices are expected.
Fix a bug in standalone introduced by the previous commit
Rename `._indexing` to `._indices`
Allow using `Morphology.indices[...]` in the same way as for groups. Extend the scope of `Morphology.__getitem__` and improve the error checking. Remove `Morphology.compartments` and `Morphology.compartment`.
Update compartmental examples to use the new indexing syntax
Allow using subgroups for indexing state variables
Allow the use of synaptic "subgroups" for specifying what to record/extract from a `StateMonitor`
Examples are nicer
Update docs for `Morphology`
[ci skip]
Remove accidentally duplicated lines.
Raise a warning for potentially ambiguous string expressions combined with groups used for indexing
Merge pull request #343 from brian-team/indices_generalization

Indices generalization