Save the point cloud to a .npz file.
(self, f: Union[str, BinaryIO])
| 45 | ) |
| 46 | |
| 47 | def save(self, f: Union[str, BinaryIO]): |
| 48 | """ |
| 49 | Save the point cloud to a .npz file. |
| 50 | """ |
| 51 | if isinstance(f, str): |
| 52 | with open(f, "wb") as writer: |
| 53 | self.save(writer) |
| 54 | else: |
| 55 | np.savez(f, coords=self.coords, **self.channels) |
| 56 | |
| 57 | def write_ply(self, raw_f: BinaryIO): |
| 58 | write_ply( |
nothing calls this directly
no outgoing calls
no test coverage detected