identify_root#
- gwpy.io.root.identify_root(
- origin: Literal['read', 'write'],
- filepath: FileSystemPath | None,
- fileobj: FileLike | None,
- *args,
- **kwargs,
Identify a filename or file object as ROOT.
This function is only indented to be used as a registered identifier for Astropy’s Unified I/O system.