cortex-lab / phy

phy: interactive visualization and manual spike sorting of large-scale ephys data
BSD 3-Clause "New" or "Revised" License
304 stars 155 forks source link

Programmatic high-contrast colour generation #105

Closed nippoo closed 9 years ago

nippoo commented 9 years ago
rossant commented 9 years ago

see https://github.com/kwikteam/phy/blob/master/phy/utils/_color.py#L26

rossant commented 9 years ago

Maybe add:

We'll use this colormap when assigning colors to new clusters.

rossant commented 9 years ago

@nippoo It might be sufficient to generate a single colormap that has all required properties. The first selected cluster will get the first color, the second one the second color, etc.

rossant commented 9 years ago

There now is a good enough colormap