Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def write_frame(file, frame, position, orientation):
gsd.libgsd.gsd_write_chunk(file, "position", 3, position.shape[0], position.shape[1], frame, position);
gsd.libgsd.gsd_write_chunk(file, "orientation", 3, orientation.shape[0], orientation.shape[1], frame, orientation);
gsd.libgsd.gsd_end_frame(file);