irradiapy.utils.io

Utility functions for I/O operations.

Functions

apply_boundary_conditions_to_lammps(path_in, ...)

Apply periodic boundary conditions to a LAMMPS dump file.

compress_file_bz2(input_path, output_path[, ...])

Compress a file using bzip2.

decompress_file_bz2(input_path, output_path)

Decompress a bzip2-compressed file.

get_last_reader(reader)

Get the last snapshot from a LAMMPS dump file using a reader.

merge_lammps_snapshots(path_in, path_out[, ...])

Merge multiple snapshots in a LAMMPS file into a single snapshot.