You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are currently two ways to handle the chroma information:
Constant chroma ('const')
For each lightness J, find the maximum chroma that can be represented in RGB
for any hue, and then use that for every other hue. This produces images with
perceptually accurate magnitude variation, but the colors are muted and more
difficult to perceive.
Maximum chroma ('max')
For each lightness J and hue h, find the maximum chroma that can be
represented in RGB. This produces vivid images, but the chroma variation
produces misleading streaks as it makes sharp angles around the RGB edges.
Example
analog_filter.py uses a constant-chroma map to
visualize the poles and zeros of an analog bandpass filter,
with accompanying magnitude and phase plots along jω axis, and a log-dB plot of
magnitude for comparison:
Distribution
To create a new release
bump the __version__ number,
publish to PyPi and GitHub:
make publish
License
complex_colormap is published under the MIT license.
About
Colormap for visualizing amplitude and phase of complex functions (e.g. filter design) using hue and lightness in a perceptually-uniform colorspace