mjp98 / PhaseColors.jl

Julia package for complex phase colouring

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PhaseColors.jl

Dev Build Status Coverage

This is intended to be a lightweight package to help generate visualisations of complex functions with plotting or image packages. It depends on Colors and ColorSchemes.

Functionality

  • canonicalphase(z), returns the phase of z, normalised to 0..1
  • phasecolormaps, a dictionary of colorschemes for phase visualisation
  • utility functions for grid generation on complex plane

Examples

The examples folder is intended to include examples for generating common complex visualisations using different plotting packages and image tools such as ImageInTerminal.jl, UnicodePlots.jl, Plots.jl, PlotlyJS.jl, PGFPlotsX.jl and Makie.jl

Starting with

  • 2D phaseportraits
  • absarg plots

and eventially adding

  • 3D surface plots
  • Riemann sphere
  • hyperbolic projection
  • reim scatter plots

Development

  • absolute value shading

Similar packages

For typical use, alternative packages providing complex phase portrait functions may be more useful:

About

Julia package for complex phase colouring

License:MIT License


Languages

Language:Julia 100.0%