pymaid.CatmaidNeuronList.sample

CatmaidNeuronList.sample(N: int | float = 1) → NeuronList

Return random subset of neurons.