pysilcam/oilgas.py
def cat_data_pj(timestamp, vd, d50, nparts):
    '''
    cat data into PJ-readable format (readable by the old matlab SummaryPlot exe)
    '''
    timestamp = pd.to_datetime(timestamp)

    data = [[timestamp.year, timestamp.month, timestamp.day,
            timestamp.hour, timestamp.minute, timestamp.second + timestamp.microsecond /
            1e6],
            vd, [d50, nparts]]
    data = list(itertools.chain.from_iterable(data))

    return data

    cat data into PJ-readable format (readable by the old matlab SummaryPlot exe)
    
cat data into PJ-readable format (readable by the old matlab SummaryPlot exe)
cat data into PJ - readable format ( readable by the old matlab SummaryPlot exe )
def cat_data_pj(timestamp, vd, d50, nparts):
    timestamp = pd.to_datetime(timestamp)
    data = [[timestamp.year, timestamp.month, timestamp.day,
            timestamp.hour, timestamp.minute, timestamp.second + timestamp.microsecond /
            1e6],
            vd, [d50, nparts]]
    data = list(itertools.chain.from_iterable(data))
    return data
def cat_data_pj ( timestamp , vd , d50 , nparts ) : timestamp = pd . to_datetime ( timestamp ) data = [ [ timestamp . year , timestamp . month , timestamp . day , timestamp . hour , timestamp . minute , timestamp . second + timestamp . microsecond / 1e6 ] , vd , [ d50 , nparts ] ] data = list ( itertools . chain . from_iterable ( data ) ) return data
cat data into PJ-readable format (readable by the old matlab SummaryPlot exe)
cat data into PJ - readable format ( readable by the old matlab SummaryPlot exe )
'''
    cat data into PJ-readable format (readable by the old matlab SummaryPlot exe)
    '''
timestamp
vd
d50
nparts