reciprocalspaceship.read_csv
- reciprocalspaceship.read_csv(csvfile, spacegroup=None, cell=None, merged=None, infer_mtz_dtypes=True, *args, **kwargs)[source]
Read a comma-separated values (csv) file into a DataSet.
This method also supports the arguments to pandas.read_csv. See their documentation for more details.
- Parameters:
csvfile (str, path object, or file-like object) – File to read as CSV file
spacegroup (gemmi.SpaceGroup, int, or str) – Spacegroup with which to initialize DataSet
cell (gemmi.UnitCell, tuple, list, or array-like) – Cell parameters with which to initialize DataSet
merged (bool) – Whether DataSet contains merged reflection data
infer_mtz_dtypes (bool) – Whether to infer MTZ dtypes based on column names
- Returns:
rs.DataSet