6.10. INPCRD structure files in MDAnalysis — MDAnalysis.coordinates.INPCRD

Read coordinates in Amber coordinate/restart file (suffix “inpcrd”).

6.10.1. Classes

class MDAnalysis.coordinates.INPCRD.INPReader(filename, convert_units=True, n_atoms=None, **kwargs)[source]

Reader for Amber restart files.

static parse_n_atoms(filename, **kwargs)[source]

Read the coordinate file and deduce the number of atoms

Returns

n_atoms – the number of atoms in the coordinate file

Return type

int

Raises

NotImplementedError – when the number of atoms can’t be deduced