probmap

package
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 7, 2024 License: BSD-2-Clause Imports: 5 Imported by: 0

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 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
	// contains filtered or unexported fields
}

func (*Image) At

func (i *Image) At(x, y int) color.Color

func (*Image) Bounds

func (i *Image) Bounds() image.Rectangle

func (*Image) ColorModel

func (i *Image) ColorModel() color.Model

func (*Image) Format

func (i *Image) Format(tot *model.Total)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL