avni.api.applet_support module#

api support for web_applets. Not recommended for general use.

class avni.api.applet_support.App(client)[source]#

Bases: object

generic app support class

class avni.api.applet_support.SW(client)[source]#

Bases: avni.api.applet_support.App

surface wave specific app support

buildCommonData(self, args) for SW app. builds events common to two SW data for user selections returns filename (file stored in cache)[source]#
args={

‘grp_1’: group 1 abbreviation ‘grp_2’: group 2 abbrevation ‘period’: period to compare at. string, e.g., ‘100.0’ ‘overtone’:overtone to compare at. string, e.g., 0 ‘wave’:wave type ‘R’ or ‘L’ ‘orbit’: orbit 1, 2, 3. concanenated with wave to get R1, R2, etcself. ‘dat_type’: ‘processed’ or ‘raw’ }

selections must exist in HDF keys.

filterCommonData(self, args) for SW app: args includes plotly/dash graphical selections. See avni-applets. returns filename (file stored in cache)[source]#