avni.models.kernel_set module#

This script/module contains routines that are used to analyze/visualize the data sets in the standard AVNI format.

class avni.models.kernel_set.Kernel_set(dictionary)[source]#

Bases: object

A class for kernel sets that define the G matrix for relating data d to model m, d=Gm

initialize(dictionary, required=None, optional=None)[source]#
property name#
property keys#
property scaling#
get_attributes(dictionary, parserfile='/home/pm5113/Github/avni-private/avni/config/attributes.ini')[source]#

Reads configuration file and get the basis attributes like knot depth for each parameter in modelarray list of coefficients. parser is the output from parser = ConfigObj(config) where config is the configuration *.ini file.

extract_lateral(dictionary)[source]#
extract_radial(dictionary)[source]#
find_radial(parameter)[source]#

find radial indices of a given physical parameter

search_radial(search, unique=False)[source]#
evaluate_bases(parameter, latitude=None, longitude=None, depth_in_km=None)[source]#
depth_in_kmdepth in km where the projection matrix is needed.

If None, returns the projection matrix for the lat/lon and radial basis as a dirac delta.

pixeldepths(parameter)[source]#