ash_model.readwrite.io.write_ash_to_json

ash_model.readwrite.io.write_ash_to_json(h, path, compress=False)[source]

Write an ASH object to a JSON file.

Parameters:
  • h (ASH) – ASH object to write.

  • path (str) – Path to the JSON file.

  • compress (bool) – If True, the file will be compressed using gzip.

Returns:

None

Return type:

None