feos.epcsaft.BinarySegmentRecord¶
- class feos.epcsaft.BinarySegmentRecord(id1, id2, model_record)¶
Create a record for a binary segment interaction parameter.
- Parameters:
id1 (str) – The identifier of the first segment.
id2 (str) – The identifier of the second segment.
model_record (float) – The binary segment interaction parameter.
- Return type:
Methods
__init__
()from_json
(path)Read a list of `BinarySegmentRecord`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