We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a5e01fb commit a511d0eCopy full SHA for a511d0e
docs/index.md
@@ -12,15 +12,14 @@ It is written in **Rust** with a **Python** interface.
12
`````{tab-set}
13
````{tab-item} Python
14
```python
15
-from feos import EquationOfState, State
16
-from feos.parameters import Parameters
+import feos
17
18
# Build an equation of state
19
-parameters = Parameters.from_json(['methanol'], 'parameters.json')
20
-eos = EquationOfState.pcsaft(parameters)
+parameters = feos.Parameters.from_json(['methanol'], 'parameters.json')
+eos = feos.EquationOfState.pcsaft(parameters)
21
22
# Define thermodynamic conditions
23
-critical_point = State.critical_point(eos)
+critical_point = feos.State.critical_point(eos)
24
25
# Compute properties
26
p = critical_point.pressure()
0 commit comments