Exemple #1
0
# Colin McNally 2019 <*****@*****.**>
#
# Chains campaign010 collect results from outputs
# - dump everything from the status files to a Pandas dataframe
# 
import chaincalc
from campaign010 import *
col = Campaign010()
table = chaincalc.collect_to_lifetable(col, './statustable_campaign010.pdh5', 'campaign010')
# Colin McNally 2019 <*****@*****.**>
#
# Chains campaign003 collect results from outputs
# - might as well abstract this
# - dump everything from the status files to a Pandas dataframe
#
import sys
import time
import json
import pandas as pd
import numpy as np
import chaincalc

from campaign003 import *

#Now have name col from campaign003
col = Campaign003()
print('Campaign has {} models'.format(col.get_size()))
chaincalc.collect_to_lifetable(col, '../lifetimes.pdh5', 'campaign003')