sipptestcore

package
v0.0.0-...-1b03cc8 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2023 License: MIT Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CosxCosyTiny = image.Gray{
	cosxCosyTiny,
	20,
	image.Rectangle{image.Point{0, 0}, image.Point{20, 20}},
}
View Source
var CosxCosyTinyGrad = []complex128{}/* 361 elements not displayed */
View Source
var CosxCosyTinyGradMaxIm float64 = 39
View Source
var CosxCosyTinyGradMaxMod = 56.568542494923804
View Source
var CosxCosyTinyGradMaxRe float64 = 40
View Source
var CosxCosyTinyGradMinIm float64 = -40
View Source
var CosxCosyTinyMaxExcursion = 40
View Source
var CosxCosyTinyMaxImExc = 40
View Source
var CosxCosyTinyMaxReExc = 40
View Source
var CosxCosyTinyStride = 20
View Source
var CosxCoxyTinyGradMinRe float64 = -40
View Source
var Gray = image.Gray{
	smallPic,
	4,
	image.Rectangle{image.Point{0, 0}, image.Point{4, 4}},
}
View Source
var Gray16 = image.Gray16{
	smallPic16,
	8,
	image.Rectangle{image.Point{0, 0}, image.Point{4, 4}},
}
View Source
var SmallPicColumnAverages = []int32{
	0b11100,
	0b100000,
	0b100100,
	0b101000,
}
View Source
var SmallPicRowAverages = []int32{
	0b1010,
	0b11010,
	0b101010,
	0b111010,
}

Values are stored at n.2 fixed point. As the shift by 2 exactly cancels the divide by 4, the fixed-point average is the same as the sum.

View Source
var TestDir = filepath.Join(os.Getenv("GOPATH"), "src", "github.com",
	"Causticity", "sipp", "testdata")

Functions

func ComplexArrayToString

func ComplexArrayToString(cpx []complex128, width int) string

func GrayArrayToString

func GrayArrayToString(gray []uint8, width int) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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