Skip to content

Latest commit

 

History

History
38 lines (22 loc) · 838 Bytes

file.rst

File metadata and controls

38 lines (22 loc) · 838 Bytes

Saving and loading simplicial complexes

simplicial.file

There are lots of standard formats for networks, but none (as far as I know) for simplicial complexes. In the absence of a standard, simplicial uses the most portable storage format, which would be JSON. We may add new formats if required, since JSON isn't very efficient especially for large complexes.

File I/O

The basic functions read and write JSON-encoded complexes.

read_json

write_json

Conversion routines

For special cases, the raw conversion routines are also available.

as_json

as_simplicial_complex

Encoding

JSONSimplicialComplexEncoder