Comments (3)
Dear Libin,
I realised that this was an example which relied on an older version of the code.
To make it work you can do the following, the difference is subtle:
model = pgm.get_isotherm_model(
'Langmuir',
parameters={
"K": 20,
"n_m": 2
},
pressure_range=(0.01, 2),
)
model_iso = pg.ModelIsotherm(
material='carbon',
adsorbate='N2',
temperature=77,
model=model,
)
model_iso.plot()
Also I believe very recently jupyter changed its default matplotlib behaviour. You can add
%matplotlib inline
at the top to make python clear graphs after every cell.
Let me know if it works for you.
I will correct the example in the next few days. Thank you for bringing it to my attention.
Best,
Paul
from pygaps.
Hi Paul,
It works fine following your instructions.
Many thanks,
Libin
from pygaps.
Fixed in d2e6275
Closing this now, let me know if there's anything else I can help with.
Best,
Paul
from pygaps.
Related Issues (20)
- module 'scipy' has no attribute 'stats' HOT 3
- jensen-seaton models fail for isosteric enthalpy with example data
- Problem while using ads to calculate mesopore psd HOT 5
- Some adsorbate names unrecognised by CoolProp HOT 2
- Access isotherm parameters HOT 3
- Add uncertainty to various calculations that can benefit HOT 1
- account for a measurement of p0 at each point
- identify and convert excess/absolute isotherms HOT 4
- Quantachrome ".txt" files cannot be reliably parsed HOT 11
- carefully address isotherm fraction/percent modes
- Issue in Dubinin calculations HOT 7
- Modelling problems after converting units HOT 1
- Add convert functionality for isotherm models
- AIF files version not being parsed HOT 4
- Circular import on pip install HOT 2
- Interpolation Error in isotherm.loading_at() HOT 5
- 3P report file not parsing properly HOT 2
- Chi theory?
- Identify and label experimental isotherms as gravimetric or volumetric
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pygaps.