Documentation
¶
Overview ¶
Package probmap implements a map image for a probability density, in a plate carrée (equirectangular) projection.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Gradienter ¶ added in v0.4.0
Gradientes is an interface for types that return a color gradient
type HalfGrayScale ¶ added in v0.4.0
type HalfGrayScale struct{}
HalfGrayScale returns a gray scale between 0 (black) and 128 (gray).
type Image ¶
type Image struct { // Number of columns in the image Cols int // Age of the time stage of the image Age int64 // Landscape model Landscape *model.TimePix // Total rotation for the pixels to the present stage Tot map[int][]int // Color keys Keys *pixkey.PixKey // Map of Pixels to Probabilities Rng map[int]float64 // Contour image Contour image.Image // If present is true, // it will use the present geography Present bool // If gray is true, // it will use a gray scale. Gray bool // A Gradient color scheme Gradient Gradienter // contains filtered or unexported fields }
func (*Image) ColorModel ¶
type Incandescent ¶ added in v0.4.0
type Incandescent struct{}
Incandescent is the incandescent color scheme of Paul Tol <https://personal.sron.nl/~pault/#fig:scheme_incandescent>.
type Iridescent ¶ added in v0.4.0
type Iridescent struct{}
Iridescent is the iridescent color scheme of Paul Tol <https://personal.sron.nl/~pault/#fig:scheme_iridescent>.
type LightGrayScale ¶ added in v0.4.0
type LightGrayScale struct{}
LightGrayScale returns a gray scale between 0 (black) to 200 (light gray).
type RainbowPurpleToRed ¶ added in v0.4.0
type RainbowPurpleToRed struct{}
RainbowPurpleToRed is the rainbow color scheme of Paul Tol <https://personal.sron.nl/~pault/#fig:scheme_rainbow_smooth> starting at purple and ending at red.