-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* make references to original file instead of parsing them * update code with respect to parsing of structures * update unit tests * debug energy landscape refinement * debug adp * update syntactic settings * update wrapper tools for binding site calculation * update defaults in syntactic settings * make neighbour cut off optional in PES exploration * update wrong variable * update bad indent * debug initializing mesoscale model * mute neighbour cut off mapping for now * update default value for neighbor cut off * update wrong variable for process parallelization * update retrieval of mechanisms * update mode of temporary files * add function to replace site types * debug: print molar fractions and gas species * uncomment unneeded code lines * comment further lines for debug * debug:comment unneeded lines for cluster expansion * debug: comment unneeded lines * debug:update list indexing * move pz job out of get_rate-function * debug: print lattice ids * debug: print lattice ids * debug:add seek mechanism while writing to temp file * debug: update wrong variable * debug: add example which imports the graph at mesoscopic level * mute molar fraction for O2 in ADP * remove printing, change CO2 to CO * add needed comma to result output var * add needed comma in tuple * move from list to tuple * debug: print resulting data from scan job * debug:print settings * update wrapping function for snapshots, uncomment pressure division * remove float conversion in generic setting for zacros * also remove float conversion from other generic settings * move float conversion to other function and add asterisk * remove print statements, successfully run adp * update examples * correct indentation * add plot and update example * update engine paths * update function for mapping results * update path variables * update path keyword * update path variable
- Loading branch information
1 parent
0c5c437
commit 9660d1f
Showing
5 changed files
with
37 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
import numpy as np | ||
import adaptiveDesignProcedure as adp | ||
import matplotlib.pyplot as plt | ||
|
||
path = "plams_workdir/adp.results/" | ||
|
||
x_CO_model = np.linspace(0.001,0.999,201) | ||
TOF_CO2_model, = adp.predict( x_CO_model.reshape(-1,1), path ).T | ||
|
||
ax = plt.axes() | ||
ax.set_xlabel('Molar Fraction CO', fontsize=14) | ||
ax.set_ylabel("TOF (mol/s/site)", fontsize=14) | ||
ax.plot(x_CO_model, TOF_CO2_model, color='red', linestyle='-', lw=2, zorder=0) | ||
plt.tight_layout() | ||
plt.savefig("apd.png") | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters