| 程序包 | 说明 |
|---|---|
| org.meteoinfo.bak | |
| org.meteoinfo.data | |
| org.meteoinfo.data.dataframe | |
| org.meteoinfo.data.meteodata | |
| org.meteoinfo.math | |
| org.meteoinfo.math.stats | |
| org.meteoinfo.ndarray |
Multidimensional arrays of primitives and objects with data stored in memory.
|
| org.meteoinfo.projection |
| 限定符和类型 | 方法 | 说明 |
|---|---|---|
static Array |
ArrayMath.all(Array a,
int axis) |
Test whether all array element along a given axis evaluates to True.
|
static Array |
ArrayMath.any(Array a,
int axis) |
Test whether any array element along a given axis evaluates to True.
|
static int |
ArrayMath.argMax(Array a) |
Get the index of the maximum value into the flattened array.
|
static Array |
ArrayMath.argMax(Array a,
int axis) |
Get the indices of the maximum values along an axis.
|
static int |
ArrayMath.argMin(Array a) |
Get the index of the minimum value into the flattened array.
|
static Array |
ArrayMath.argMin(Array a,
int axis) |
Get the indices of the minimum values along an axis.
|
static Array |
ArrayUtil.argSort(Array a,
Integer axis) |
Get sorted array index along an axis
|
static Array |
ArrayUtil.concatenate(List<Array> arrays,
Integer axis) |
Concatenate arrays to one array along a axis
|
static Array |
ArrayUtil.concatenate(Array a,
Array b,
Integer axis) |
Concatenate two arrays to one array along a axis
|
static Array |
ArrayMath.cumsum(Array a,
int axis) |
Return the cumulative sum of the elements along a given axis.
|
static List<Double> |
ArrayMath.cumsum(Array a,
List<Range> ranges) |
Compute cumulative sum value of an array
|
static Object |
ArrayUtil.interpn(List<Array> points,
Array values,
Array xi) |
Multidimensional interpolation on regular grids.
|
static Array |
ArrayUtil.interpolate_1d(double x,
Array xp,
Array a,
int axis) |
Interpolates data with any shape over a specified axis.
|
static Array |
ArrayUtil.interpolate_1d(Array xa,
Array xp,
Array a,
int axis) |
Interpolates data with any shape over a specified axis.
|
static Array |
ArrayMath.max(Array a,
int axis) |
Compute maximum value of an array along an axis (dimension)
|
static double |
ArrayMath.max(Array a,
List<Range> ranges) |
Compute maximum value of an array
|
static Array |
ArrayMath.mean(Array a,
int axis) |
Compute mean value of an array along an axis (dimension)
|
static double |
ArrayMath.mean(Array a,
List<Range> ranges) |
Compute mean value of an array
|
static Array |
ArrayMath.median(Array a,
int axis) |
Compute median value of an array along an axis (dimension)
|
static double |
ArrayMath.median(Array a,
List<Range> ranges) |
Compute median value of an array
|
static Array |
ArrayMath.min(Array a,
int axis) |
Compute minimum value of an array along an axis (dimension)
|
static double |
ArrayMath.min(Array a,
List<Range> ranges) |
Compute minimum value of an array
|
static Array |
ArrayUtil.reproject(Array data,
List<Number> x,
List<Number> y,
Array rx,
Array ry,
ProjectionInfo fromProj,
ProjectionInfo toProj,
double fill_value,
ResampleMethods resampleMethod) |
Reproject
|
static Array |
ArrayUtil.reproject(Array data,
List<Number> x,
List<Number> y,
Array rx,
Array ry,
ProjectionInfo fromProj,
ProjectionInfo toProj,
ResampleMethods resampleMethod) |
Reproject
|
static Object[] |
ArrayUtil.reproject(Array data,
List<Number> xx,
List<Number> yy,
ProjectionInfo fromProj,
ProjectionInfo toProj) |
Project grid data
|
static Object[] |
ArrayUtil.reproject(Array data,
List<Number> xx,
List<Number> yy,
ProjectionInfo fromProj,
ProjectionInfo toProj,
ResampleMethods method) |
Project grid data
|
static Object[] |
ArrayUtil.reproject_back(Array data,
List<Number> xx,
List<Number> yy,
ProjectionInfo fromProj,
ProjectionInfo toProj) |
Project grid data
|
static Array |
ArrayMath.section(Array a,
int[] origin,
int[] size,
int[] stride) |
Section array
|
static Array |
ArrayMath.section(Array a,
List<Range> ranges) |
Section array
|
static Array |
ArrayMath.setSection(Array a,
List<Range> ranges,
Number v) |
Set section
|
static Array |
ArrayMath.setSection(Array a,
List<Range> ranges,
Array v) |
Set section
|
static Array |
ArrayUtil.sort(Array a,
Integer axis) |
Sort array along an axis
|
static double |
ArrayMath.std(Array a) |
Compute standard deviation value of an array
|
static Array |
ArrayMath.std(Array a,
int axis) |
Compute standard deviation value of an array along an axis (dimension)
|
static double |
ArrayMath.std(Array a,
List<Range> ranges) |
Compute standard deviation value of an array
|
static Array |
ArrayMath.sum(Array a,
int axis) |
Compute sum value of an array along an axis (dimension)
|
static double |
ArrayMath.sum(Array a,
List<Range> ranges) |
Compute sum value of an array
|
static Array |
ArrayMath.trapz(Array a,
double dx,
int axis) |
Integrate vector array using the composite trapezoidal rule.
|
static double |
ArrayMath.trapz(Array y,
double dx,
List<Range> ranges) |
Integrate vector array using the composite trapezoidal rule.
|
static Array |
ArrayMath.trapz(Array a,
Array x,
int axis) |
Integrate vector array using the composite trapezoidal rule.
|
static double |
ArrayMath.trapz(Array y,
Array x,
List<Range> ranges) |
Integrate vector array using the composite trapezoidal rule.
|
static Array |
ArrayMath.var(Array a,
int axis) |
Compute variance value of an array along an axis (dimension)
|
static double |
ArrayMath.var(Array a,
List<Range> ranges) |
Compute variance value of an array
|
| 限定符和类型 | 方法 | 说明 |
|---|---|---|
GridArray |
GridArray.project(ProjectionInfo toProj) |
Project grid data
|
GridArray |
GridArray.project(ProjectionInfo fromProj,
ProjectionInfo toProj) |
Project grid data
|
GridArray |
GridArray.project(ProjectionInfo fromProj,
ProjectionInfo toProj,
ResampleMethods resampleMethod) |
Project grid data
|
| 限定符和类型 | 方法 | 说明 |
|---|---|---|
void |
DataFrame.addColumn(int loc,
String colName,
Object o) |
Add column data
|
void |
DataFrame.addColumn(int loc,
String colName,
Array a) |
Add column data
|
void |
DataFrame.addColumn(int loc,
Column column,
Array a) |
Add column data
|
void |
DataFrame.addColumn(String colName,
Array a) |
Add column data
|
void |
DataFrame.addColumn(Column column,
Series s) |
Add column data
|
void |
DataFrame.addColumn(Column column,
Array a) |
Add column data
|
void |
DataFrame.dataReshape(int nrow,
int ncol) |
Data reshape
|
Array |
DataFrame.getColumnData(int col) |
Get column data array
|
Array |
DataFrame.getColumnData(String colName) |
Get column data array
|
Object |
DataFrame.select(int row,
Range colRange) |
Select by row and column ranges
|
Object |
DataFrame.select(List<Integer> rowRange,
Range colRange) |
Select by row and column ranges
|
Object |
DataFrame.select(List rowKeys,
List<Integer> rowRange,
List<Integer> colRange) |
Select by row and column ranges
|
Object |
DataFrame.select(List rowKeys,
List<Integer> rowRange,
Range colRange) |
Select by row and column ranges
|
Object |
DataFrame.select(Range rowRange,
List<Integer> colRange) |
Select by row and column ranges
|
Object |
DataFrame.select(Range rowRange,
Range colRange) |
Select by row and column ranges
|
void |
DataFrame.setColumn(String colName,
Object a) |
Set column data
|
void |
DataFrame.setColumn(String colName,
Array a) |
Set column data
|
void |
DataFrame.setValues(int row,
Range colRange,
Number value) |
Set values by row and column ranges
|
void |
DataFrame.setValues(int row,
Range colRange,
Array value) |
Set values by row and column ranges
|
Object |
Series.stdDev() |
Compute the standard deviation of the numeric columns for each group or the entire
series if the data is not grouped.
|
| 限定符和类型 | 方法 | 说明 |
|---|---|---|
Array |
MeteoDataInfo.take(String varName,
List<Object> ranges) |
Take array data from the variable
|
| 限定符和类型 | 方法 | 说明 |
|---|---|---|
static Array |
ArrayMath.all(Array a,
int axis) |
Test whether all array element along a given axis evaluates to True.
|
static Array |
ArrayMath.any(Array a,
int axis) |
Test whether any array element along a given axis evaluates to True.
|
static int |
ArrayMath.argMax(Array a) |
Get the index of the maximum value into the flattened array.
|
static Array |
ArrayMath.argMax(Array a,
int axis) |
Get the indices of the maximum values along an axis.
|
static int |
ArrayMath.argMin(Array a) |
Get the index of the minimum value into the flattened array.
|
static Array |
ArrayMath.argMin(Array a,
int axis) |
Get the indices of the minimum values along an axis.
|
static Array |
ArrayUtil.argSort(Array a,
Integer axis) |
Get sorted array index along an axis
|
static Array |
ArrayUtil.concatenate(List<Array> arrays,
Integer axis) |
Concatenate arrays to one array along a axis
|
static Array |
ArrayUtil.concatenate(Array a,
Array b,
Integer axis) |
Concatenate two arrays to one array along a axis
|
static Array |
ArrayMath.cumsum(Array a,
int axis) |
Return the cumulative sum of the elements along a given axis.
|
static List<Double> |
ArrayMath.cumsum(Array a,
List<Range> ranges) |
Compute cumulative sum value of an array
|
static Object |
ArrayUtil.interpn(List<Array> points,
Array values,
Array xi) |
Multidimensional interpolation on regular grids.
|
static Array |
ArrayUtil.interpolate_1d(double x,
Array xp,
Array a,
int axis) |
Interpolates data with any shape over a specified axis.
|
static Array |
ArrayUtil.interpolate_1d(Array xa,
Array xp,
Array a,
int axis) |
Interpolates data with any shape over a specified axis.
|
static Array |
ArrayMath.max(Array a,
int axis) |
Compute maximum value of an array along an axis (dimension)
|
static double |
ArrayMath.max(Array a,
List<Range> ranges) |
Compute maximum value of an array
|
static Array |
ArrayMath.mean(Array a,
int axis) |
Compute mean value of an array along an axis (dimension)
|
static double |
ArrayMath.mean(Array a,
List<Range> ranges) |
Compute mean value of an array
|
static Array |
ArrayMath.median(Array a,
int axis) |
Compute median value of an array along an axis (dimension)
|
static double |
ArrayMath.median(Array a,
List<Range> ranges) |
Compute median value of an array
|
static Array |
ArrayMath.min(Array a,
int axis) |
Compute minimum value of an array along an axis (dimension)
|
static double |
ArrayMath.min(Array a,
List<Range> ranges) |
Compute minimum value of an array
|
static Array |
ArrayMath.section(Array a,
int[] origin,
int[] size,
int[] stride) |
Section array
|
static Array |
ArrayMath.section(Array a,
List<Range> ranges) |
Section array
|
static Array |
ArrayMath.setSection(Array a,
List<Range> ranges,
Number v) |
Set section
|
static Array |
ArrayMath.setSection(Array a,
List<Range> ranges,
Array v) |
Set section
|
static Array |
ArrayUtil.sort(Array a,
Integer axis) |
Sort array along an axis
|
static double |
ArrayMath.std(Array a) |
Compute standard deviation value of an array
|
static Array |
ArrayMath.std(Array a,
int axis) |
Compute standard deviation value of an array along an axis (dimension)
|
static double |
ArrayMath.std(Array a,
List<Range> ranges) |
Compute standard deviation value of an array
|
static Array |
ArrayMath.sum(Array a,
int axis) |
Compute sum value of an array along an axis (dimension)
|
static double |
ArrayMath.sum(Array a,
List<Range> ranges) |
Compute sum value of an array
|
static Array |
ArrayMath.trapz(Array a,
double dx,
int axis) |
Integrate vector array using the composite trapezoidal rule.
|
static double |
ArrayMath.trapz(Array y,
double dx,
List<Range> ranges) |
Integrate vector array using the composite trapezoidal rule.
|
static Array |
ArrayMath.trapz(Array a,
Array x,
int axis) |
Integrate vector array using the composite trapezoidal rule.
|
static double |
ArrayMath.trapz(Array y,
Array x,
List<Range> ranges) |
Integrate vector array using the composite trapezoidal rule.
|
static Array |
ArrayMath.var(Array a,
int axis) |
Compute variance value of an array along an axis (dimension)
|
static double |
ArrayMath.var(Array a,
List<Range> ranges) |
Compute variance value of an array
|
| 限定符和类型 | 方法 | 说明 |
|---|---|---|
static Array[] |
StatsUtil.pearsonr(Array x,
Array y,
int axis) |
Calculates a Pearson correlation coefficient.
|
static Array |
StatsUtil.percentile(Array a,
double p,
int axis) |
Returns an estimate of the pth percentile of the values in the array along an axis.
|
| 限定符和类型 | 方法 | 说明 |
|---|---|---|
Section |
Section.addRangeNames(List<String> rangeNames) |
|
Section |
Section.appendRange(int size) |
Append a new Range(0,size-1) to the Section
|
Section |
Section.appendRange(int first,
int last) |
Append a new Range(first, last) to the Section
|
Section |
Section.appendRange(int first,
int last,
int stride) |
Append a new Range(first,last,stride) to the Section
|
Section |
Section.appendRange(String name,
int first,
int last,
int stride) |
Append a new Range(name,first,last,stride) to the Section
|
static List |
Range.appendShape(List ranges,
int size) |
已过时。
use Section.appendRange(int size)
|
Range |
Range.compact() |
Create a new Range by compacting this Range by removing the stride.
|
Section |
Section.compact() |
Create a new Section by compacting each Range.
|
Range |
Range.compose(Range r) |
Create a new Range by composing a Range that is reletive to this Range.
|
Section |
Section.compose(Section want) |
Create a new Section by composing with a Section that is reletive to this Section.
|
int |
Range.element(int i) |
Get ith element
|
boolean |
Section.equivalent(int[] shape) |
Is this section equivilent to the given shape.
|
static List |
Range.factory(int[] origin,
int[] shape) |
已过时。
use Section(int[] origin, int[] shape)
|
static Section |
Section.fill(Section s,
int[] shape) |
Return a Section guaranteed to be non null, with no null Ranges, and within the bounds set by shape.
|
IndexIterator |
Array.getRangeIterator(List<Range> ranges) |
Get an index iterator for traversing a section of the array in canonical
order.
|
int |
Range.index(int elem) |
Get the index for this element: inverse of element
|
Range |
Range.intersect(Range r) |
Create a new Range by intersecting with a Range using same interval as this Range.
|
Section |
Section.intersect(Section other) |
Create a new Section by intersection with another Section
|
boolean |
Section.intersects(Section other) |
See if this Section intersects with another Section. ignores strides
|
int |
Section.offset(Section intersect) |
|
static List |
Range.parseSpec(String sectionSpec) |
已过时。
use new Section(String sectionSpec)
|
Section |
Section.removeVlen() |
Create a new Section by compacting each Range.
|
Array |
Array.section(int[] origin,
int[] shape) |
Create a new Array as a subsection of this Array, with rank reduction.
|
Array |
Array.section(int[] origin,
int[] shape,
int[] stride) |
Create a new Array as a subsection of this Array, with rank reduction.
|
Array |
Array.section(List<Range> ranges) |
Create a new Array as a subsection of this Array, with rank reduction.
|
DimArray |
DimArray.section(int[] origin,
int[] size,
int[] stride) |
Section
|
Array |
Array.sectionNoReduce(int[] origin,
int[] shape,
int[] stride) |
Create a new Array as a subsection of this Array, without rank reduction.
|
Array |
Array.sectionNoReduce(List<Range> ranges) |
Create a new Array as a subsection of this Array, without rank reduction.
|
Array |
ArrayStructureBak.sectionNoReduce(List<Range> ranges) |
|
void |
Section.setDefaults(int[] shape) |
If any of the ranges are null, which means "all", set the Range from the
corresponding length in shape[].
|
Range |
Range.shiftOrigin(int origin) |
Create a new Range shifting this range by a constant factor.
|
Section |
Section.shiftOrigin(Section newOrigin) |
Create a new Section by shifting each range by newOrigin.first()
The result is then a reletive offset from the newOrigin.
|
Range |
Range.union(Range r) |
Create a new Range by making the union with a Range using same interval as this Range.
|
Section |
Section.union(Section other) |
Create a new Section by union with another Section
|
| 构造器 | 说明 |
|---|---|
Range(int first,
int last) |
Create a range with unit stride.
|
Range(int first,
int last,
int stride) |
Create a range with a specified stride.
|
Range(String name,
int first,
int last) |
Create a named range with unit stride.
|
Range(String name,
int first,
int last,
int stride) |
Create a named range with a specified stride.
|
Section(int[] origin,
int[] shape) |
Create Section from a shape and origin arrays.
|
Section(int[] origin,
int[] size,
int[] stride) |
Create Section from a shape, origin, and stride arrays.
|
Section(String sectionSpec) |
Parse an index section String specification, return equivilent Section.
|
Section(List<Range> from,
int[] shape) |
Create Section from a List
|
| 限定符和类型 | 方法 | 说明 |
|---|---|---|
static Array |
Reproject.reproject(Array data,
List<Number> x,
List<Number> y,
Array rx,
Array ry,
ProjectionInfo fromProj,
ProjectionInfo toProj,
double fill_value,
ResampleMethods resampleMethod) |
Reproject
|
static Array |
Reproject.reproject(Array data,
List<Number> x,
List<Number> y,
Array rx,
Array ry,
ProjectionInfo fromProj,
ProjectionInfo toProj,
ResampleMethods resampleMethod) |
Reproject
|
static Object[] |
Reproject.reproject(Array data,
List<Number> xx,
List<Number> yy,
ProjectionInfo fromProj,
ProjectionInfo toProj) |
Project grid data
|
static Object[] |
Reproject.reproject(Array data,
List<Number> xx,
List<Number> yy,
ProjectionInfo fromProj,
ProjectionInfo toProj,
ResampleMethods method) |
Project grid data
|
static Object[] |
Reproject.reproject(Array data,
List<Number> xx,
List<Number> yy,
CoordinateReferenceSystem fromProj,
CoordinateReferenceSystem toProj,
ResampleMethods method) |
Project grid data
|
Copyright © 2019. All rights reserved.