emod_api.channelreports.channels module

Module for reading InsetChart.json channels.

class emod_api.channelreports.channels.Header(**kwargs)

Bases: object

property num_channels
property dtk_version
property time_stamp
property report_type
property report_version
property step_size

>= 1

property start_time

>= 0

property num_time_steps

>= 1

as_dictionary()dict
class emod_api.channelreports.channels.Channel(title, units, data)

Bases: object

property title
property units
property data
as_dictionary()dict
class emod_api.channelreports.channels.ChannelReport(filename: str = None, **kwargs)

Bases: object

property header
property dtk_version
property time_stamp
property report_type
property report_version

major.minor

property step_size

>= 1

property start_time

>= 0

property num_time_steps

> 0

property num_channels
property channel_names
property channels

Channel objects keyed on channel name/title

as_dataframe()
write_file(filename: str, indent: int = 0, separators=',', ':')

Write inset chart to specified text file.