class pyspi.calculator.CalculatorFrame(calculators=None, name=None, datasets=None, names=None, labels=None)
Container for batch level commands such as computing/pruning/initialising multiple datasets at once.
Example
from pyspi.calculator import CalculatorFramefrom pyspi.calculator import Calculatorfrom pyspi.data import Data# provide dataset filepathsdatsets = ['../pyspi/data/cml.npy','../pyspi/data/forex.npy','../pyspi/data/standard_normal.npy']# provide names for each datasetdataset_names = ['cml','forex','standard_normal']# optionally, provide labels for each dataset/calculatordataset_labels = ['label1','label2','label3']# create calculator framecalc_frame =CalculatorFrame( name="MyCalculatorFrame", datasets = [Data(data=data, dim_order ='sp') for data in datasets], names=dataset_names, labels=dataset_labels, subset ='fast'# pass the subset parameter along to the calculators)# run compute on all calculators in the framecalc_frame.compute()# access the results table for dataset 1calc_frame.calculators[0][0].table# get correlation framecf = calc_frame.get_correlation_df()