Created
September 26, 2013 18:33
-
-
Save ejc123/6718556 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package geotrellis.statistics | |
/** | |
* Data object for sharing the basic statistics about a raster or region. | |
*/ | |
case class Statistics(val mean:Double = Double.NaN, val median:Int = geotrellis.NODATA, | |
val mode:Int = geotrellis.NODATA, val stddev:Double = Double.NaN, | |
val zmin:Int = geotrellis.NODATA, val zmax:Int = geotrellis.NODATA) | |
object Statistics extends Statistics { | |
val EMPTY = Statistics() | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment