queso_cluster.ti#

file:

queso_cluster/ti.py

lang:

python

synopsis:

author:

Sarah Riley <academic@sriley.dev>

Classes#

timeIndependent

Time independent clustering framework

Module Contents#

class timeIndependent(config, instrumentObj)[source]#

Time independent clustering framework

Parameters:
  • config (eventInput) – object containing yaml configuration

  • instrumentObj (visp, fiss, iris) – A loader object for specific instruments

cluster(intrinsicLine=None, kLst=None, initialize='max')[source]#

Primary clustering function

clusterCompoundLabels(optLabels)[source]#

Concatenates the labels by time to form a sequence cluster

Parameters:

optLabels (ndarray) – 3D array containing the finalized cluster labels

Returns:

compoundLabels – 2D array containing the cluster sequence labels

Return type:

ndarray

property geometry#

Imports spatial and temporal properties from instrumentObj

Returns:

Dictionary containing the geometry and cadence of the observations

Return type:

dict