write_archive#
- lsst.images.serialization.write_archive(obj, path, **kwargs)#
Write
objtopath, dispatching by file extension.Forwards
**kwargsto the per-backendwrite(e.g.compression_optionsfor FITS). No registry lookup is performed: the per-backendwritealready accepts any object with aserializemethod.- Parameters:
- Returns:
Whatever the per-backend
writereturns (the serialised archive tree).- Return type:
Any