hitranonline / hapiest

A GUI frontend which allows manipulation and processing of data from the HITRAN database.
http://hitran.org/
Other
31 stars 9 forks source link

There is a problem with setting the Diluent parameter #51

Open jiujie1992 opened 4 months ago

jiujie1992 commented 4 months ago

When I set the Diluent parameter Diluent={'self':1., 'air': 0.}, the linewidth is broder than the parameter Diluent={'self':0.1, 'air': 0.9}. The other key parameters are Environment={'p': 0.1, 'T': 296.}, gastype='H2O', Conditions=('between', 'nu', 9204, 9210). It is Contrary to reality.

jiujie1992 commented 3 months ago

Is the pressure in Environment = {p T} partial pressure of one type of molecular?

jiujie1992 commented 3 months ago

revise The TRANS["p"] should be revised to TRANS["p"]/TRANS['diluent']['self'] in Line 146594. Because the pressure in Lorenz lineshape should be total pressure of the system. The pressure in Environment={'p': 0.1, 'T': 296.} should be partial pressure.