Density Analysis
Introduction
The density is one possible quantity to validate deposited morphologies. For organic compounds it is usally around 1.0g/cm3. To avoid edge effects when chosing the sample to compute density, we place several random boxes within the deposited morphology and average over all computed densities.
Command line usage
Density is computed via the QuantumPatchAnalysis module. For its usage, please export the NANOMATCH and NANOVER path variables and source the QP config
source $NANOMATCH/$NANOVER/configs/quantumpatch.config
In the folder containing your deposited morphology (usually named structure.cml) run
python $NANOMATCH/$NANOVER/QuantumPatch/QuantumPatchAnalysis.py
In the first run, this will generate a settings file for QP Analysis, named analysis_settings.yml. Open the file and adapt the following settings:
- (if needed) structure: Adapt to the name of your morphology file. We recommend to use structure.cml, not structurePBC.cml.
- Density:
- enabled: true - enables density analysis
- inner_box_cutoff: 10.0 - cutoff from box edge. The smaller the cutoff, the more atoms in the density analsis (more accurate). Depending on the roughness of the surface, you may need to increase this value
- no_samples: 20 - number of random boxes for which the density is computed and averaged.
Once the settings are adapted, rerun QuantumPatchAnalysis.py as above. This will then automatically use the modified analysis_settings.yml file.
WaNo usage:
Coming soon.
The results of the search are