Logo SoCRocket

Transaction-Level Modeling Framework for Space Applications

Public Member Functions | Public Attributes | List of all members
usi.log.log_query.LogQuery Class Reference
Inheritance diagram for usi.log.log_query.LogQuery:
Collaboration diagram for usi.log.log_query.LogQuery:

Public Member Functions

def __init__
 
def close_file
 
def select
 

Public Attributes

 store
 
 keys
 

Detailed Description

Class for reading SoCRocket logs from HDF5-databases

Example:

import pandas as pd
import log_query as lq

log = lq.LogQuery("log.h5")
df = log.select(where="index >= -1", columns=['index', 'time', 'message_text'])
print df
log.close_file()

Constructor & Destructor Documentation

def usi.log.log_query.LogQuery.__init__ (   self,
  logfile 
)

Member Function Documentation

def usi.log.log_query.LogQuery.close_file (   self)
def usi.log.log_query.LogQuery.select (   self,
  kwargs 
)

References std::map< K, T >.keys, std::unordered_map< K, T >.keys, std::unordered_multimap< K, T >.keys, std::multiset< K >.keys, std::unordered_set< K >.keys, std::set< K >.keys, std::unordered_multiset< K >.keys, std::multimap< K, T >.keys, and usi.log.log_query.LogQuery.keys.

Member Data Documentation

usi.log.log_query.LogQuery.keys
usi.log.log_query.LogQuery.store

The documentation for this class was generated from the following file: