viperleed.calc.files.iosearch
Module iosearch of viperleed.calc.files.
Functions for reading, processing and writing files relevant to the search.
Functions
|
Generates a PARAM and a search.steu file for the search. |
|
Reads the data from a list of data.chem files, or a single file. |
|
Attempts to interpret a given string as one or more blocks of an SD.TL file. |
|
Reads the last generation block from the SD.TL file, starting from the last line containing a GENERATION label. |
|
Reads SDTL from offset to end, returns new offset and the content in between as string. |
|
|
|
Generates r-factor parameters for the search, combines them with the experimental beams in AUXEXPBEAMS format to make the entire input for the search, returns that as a string. |
|
Modifies data in sl and rp to reflect the search result given by parinds, then writes POSCAR_OUT and VIBROCC_OUT. |
Exceptions
|
Raised if file read for the search has no content |
|
Raised if reading of control.chem does not return the expected number of lines |