kde

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2024 License: BSD-2-Clause Imports: 11 Imported by: 0

Documentation

Overview

Package kde implements a command to estimate the range distributions using a kernel density estimator.

Index

Constants

This section is empty.

Variables

View Source
var Command = &command.Command{
	Usage: `kde [--lambda <value>] [--bound <value>]
	[-f|--file <file>] <project-file>`,
	Short: "estimate geographic ranges using a KDE",
	Long: `
Command kde reads the point locations from a PhyGeo project and produces new
range maps using a kernel density estimation based on a spherical normal. It
will only add taxa without a defined range map.

The argument of the command is the name of the project file.
	
The flag --lambda defines the concentration parameter of the spherical normal
(equivalent to the kappa parameter in the von Mises-Fisher distribution) in
1/radians^2 units. If no value is defined, it will use the 1/size^2 of a pixel
in the pixelation used for the project.
	
By default, only the pixel at 0.95 of the spherical normal CDF will be used.
Use the flag --bound to set the bound of the normal CDF.
	
By default, the range maps will be stored in the continuous range file
currently defined for the project. If the project does not have a range file,
a new one will be created with the name 'ranges.tab'. A different file name
can be defined with the flag --file or -f. If this flag is used and there is
already a continuous range file defined, then a new file will be created and
used as the continuous range file of the project (previously defined ranges
will be kept).
	`,
	SetFlags: setFlags,
	Run:      run,
}

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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