heatm

package module
v0.0.0-...-d1afe99 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HeatMap

type HeatMap struct {
	GridLevel    int         `json:"gridLevel"`
	Columns      int         `json:"columns"`
	Rows         int         `json:"rows"`
	MinX         float64     `json:"minX"`
	MinY         float64     `json:"minY"`
	MaxX         float64     `json:"maxX"`
	MaxY         float64     `json:"maxY"`
	CountsInts2D [][]float64 `json:"counts_ints2D"`
}

func (*HeatMap) Add

func (h *HeatMap) Add(other *HeatMap) error

func (*HeatMap) Img

func (h *HeatMap) Img() *HeatMapImage

func (*HeatMap) Normalize

func (h *HeatMap) Normalize()

type HeatMapImage

type HeatMapImage struct {
	// contains filtered or unexported fields
}

func (*HeatMapImage) At

func (h *HeatMapImage) At(x, y int) color.Color

func (*HeatMapImage) Bounds

func (h *HeatMapImage) Bounds() image.Rectangle

func (*HeatMapImage) ColorModel

func (h *HeatMapImage) ColorModel() color.Model

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

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