aklab.vacuum module#
Tools for vacuum calculations: QMS vs IG calibration, etc.
- aklab.vacuum.mass_k(mass)[source]#
Returns relative to H2 sensitivity for QMS or IG. Ion current of the respective mass, multiplied by the returned value and by the H2 calibration coeffitient will correspond to this mass partial pressure (or fluence).
- Parameters
mass (int) – mass [2 | 4 | 18 | 32 | 44 | 28]
- Returns
relative sensitivity of a gas
- Return type
float
- aklab.vacuum.mean_free_path(p, gas='Air')[source]#
Given pressure in [Pa] returns mean free path in [m]. TODO: find the source for the constatns.
- Parameters
p (float) – Pressure in Pa
gas (string) – gas = [“Xe” | “H2O” | “CO2” | “Cl” | “Kr” | “Ar” | “N2” | “Air” | “O2” | “Hg” | “H2” | “Ne” | “He” |
- Returns
Mean free path for given gas at given pressure.
- Return type
float
- aklab.vacuum.qms_ig_calibration(raspi, qms, rangeis, gain=1, show_summary=False, mass_select='2', style=False, xoffset=None, yoffset=None)[source]#
QMS vs IG calibration
- Parameters
raspi (raspi.raspi) – plasma control unit data class
qms (qulee.QMS) – QMS class with calibration data
rangeis (list-like) – time interval [start,end], datetime.datetime
show_summary (bool) – show summary
mass_select (string) – “2”
style (bool) – plot style, one of two
xoffset (None or float) – offset
yoffset (None or float) – offset