ash_model.readwrite.io.write_hif

ash_model.readwrite.io.write_hif(h, path, metadata=None, compress=False)[source]

Write an ASH object to a HIF file.

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

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

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

  • metadata (Dict[str, Any] | None) –

Returns:

None

Return type:

None