Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

schema for vibrational analysis #50

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion qcschema/dev/molecule.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
}
},
"geometry": {
"description": "(3 * nat, ) vector of XYZ coordinates of the atoms.",
"description": "(3 * nat, ) vector of XYZ coordinates [a0] of the atoms.",
"type": "array",
"items": {
"type": "number"
Expand Down
123 changes: 123 additions & 0 deletions qcschema/dev/procedures/harmonicvibrations.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,123 @@
"""
The json-schema for the harmonic vibrational analysis definition
"""
harmvib = {
"$schema": "http://json-schema.org/draft-04/schema#",
"name": "qc_schema_harmvib",
"version": "dev",
"description": "The MolSSI Quantum Chemistry Harmonic Vibrational Analysis Schema",
"type": "object",
"properties": {
"omega": {
"description": "(nvib, ) for each vibration, frequency of vibration [cm^-1]; +/- for real/imaginary modes.",
"type": "array",
"items": {
"type": "number"
}
},
"q": {
"description":
"(nvib, 3 * nat) for each vibration, vector of XYZ displacements [a0 u^1/2] for normal mode, normalized mass-weighted.",
"type": "array",
"items": {
"type": "array",
"items": {
"type": "number",
}
}
},
"w": {
"description":
"(nvib, 3 * nat) for each vibration, vector of XYZ displacements [a0] for normal mode, un-mass-weighted.",
"type": "array",
"items": {
"type": "array",
"items": {
"type": "number",
}
}
},
"x": {
"description":
"(nvib, 3 * nat) for each vibration, vector of XYZ displacements [a0] for normal mode, normalized un-mass-weighted.",
"type": "array",
"items": {
"type": "array",
"items": {
"type": "number",
}
}
},
"degeneracy": {
"description": "(nvib, ) for each vibration, degree of degeneracy.",
"type": "array",
"items": {
"type": "number"
"multipleOf": 1.0,
}
},
"TRV": {
"description": "(nvib, ) for each vibration, translation/rotation/vibration classification: 'TR' or 'V' or '-' for partial.",
"type": "array",
"items": {
"type": "string"
}
},
"gamma": {
"description": "(nvib, ) for each vibration, irreducible representation or None if unclassifiable.",
"type": "array",
"items": {
"type": "string"
}
},
"mu": {
"description": "(nvib, ) for each vibration, reduced mass [u]; +/+ for real/imaginary modes.",
"type": "array",
"items": {
"type": "number"
}
},
"k": {
"description": "(nvib, ) for each vibration, force constant [mDyne/A]; +/- for real/imaginary modes.",
"type": "array",
"items": {
"type": "number"
}
},
"DQ0": {
"description": "(nvib, ) for each vibration, RMS deviation v=0 [a0 u^1/2]; +/0 for real/imaginary modes.",
"type": "array",
"items": {
"type": "number"
}
},
"Qtp0": {
"description": "(nvib, ) for each vibration, turning point v=0 [a0 u^1/2]; +/0 for real/imaginary modes.",
"type": "array",
"items": {
"type": "number"
}
},
"Xtp0": {
"description": "(nvib, ) for each vibration, turnin point v=0 [a0]; +/0 for real/imaginary modes.",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

turnin -> turning

"type": "array",
"items": {
"type": "number"
}
},
"theta_vib": {
"description": "(nvib, ) for each vibration, characteristic temperature [K]; +/0 for real/imaginary modes.",
"type": "array",
"items": {
"type": "number"
"multipleOf": 1.0,
}
},
"provenance": {
"type": "object",
"$ref": "#/definitions/provenance"
}
},
"required": ["omega", "q"],
"description": "The solved results of a Hessian calculation"
}