crunchflow.output.timeseries

A module for loading and plotting CrunchFlow time series output files.

Classes

TimeSeries

The timeseries class for working with CrunchFlow time

Functions

get_ts_coords(tsfile)

Given a CrunchFlow time series ouput file, return the coordinate

get_ts_duplicates(tsfile)

Find duplicate columns in a time series file. Useful when a user

Module Contents

crunchflow.output.timeseries.get_ts_coords(tsfile)[source]

Given a CrunchFlow time series ouput file, return the coordinate at which that time series was output.

Parameters:
tsfilestr

filename containing timeseries output

Returns:
coordstuple of int

Coordinates of the form (x, y, z)

crunchflow.output.timeseries.get_ts_duplicates(tsfile)[source]

Find duplicate columns in a time series file. Useful when a user specifies time_series_print all in CrunchFlow; the time series file includes primary species printed twice.

Parameters:
tsfilestr

path to the time series file

Returns:
columnslist

list of column headings without duplicates

nondup_indiceslist

list of column indices without duplicates