MultiRegions2D

class echoregions.formats.MultiRegions2D(objects)

Bases: object

Container for many Regions2D objects

Attributes
files
output_data
output_file

Methods

to_csv([save_path])

Save multiple Regions2D objects to a single CSV file.

to_dataframe()

Concatenates the data of all Regions2D files and returns a pandas DataFrame

to_json([save_path, pretty])

Save multiple Regions2D objects to a single CSV file.

Attributes Summary

files

output_data

output_file

Methods Summary

to_csv([save_path])

Save multiple Regions2D objects to a single CSV file.

to_dataframe()

Concatenates the data of all Regions2D files and returns a pandas DataFrame

to_json([save_path, pretty])

Save multiple Regions2D objects to a single CSV file.

Attributes Documentation

files
output_data
output_file

Methods Documentation

to_csv(save_path=None)

Save multiple Regions2D objects to a single CSV file.

Parameters
save_pathstr

If save_path is not provided, the file will be saved with the filename of the first EVR file at the same location as the EVR file.

to_dataframe()

Concatenates the data of all Regions2D files and returns a pandas DataFrame

to_json(save_path=None, pretty=False)

Save multiple Regions2D objects to a single CSV file.

Parameters
save_pathstr

If save_path is not provided, the file will be saved with the filename of the first EVR file at the same location as the EVR file.

prettybool, default False

Output more human readable JSON.