feos.pcsaft.BinaryRecord¶
- class feos.pcsaft.BinaryRecord¶
Create a record for a binary interaction parameter.
- Parameters:
id1 (Identifier) – The identifier of the first component.
id2 (Identifier) – The identifier of the second component.
model_record (float or BinaryModelRecord) – The binary interaction parameter.
- Return type:
Methods
__init__
()from_json
(path)Read a list of `BinaryRecord`s from a JSON file.
from_json_str
(json)Creates record from json string.
Creates a json string from record.
Attributes
id1
id2
model_record