Commit 267097a3a16b17cb4aa868cfa1489a0a51704c69

Authored by Jalabert
1 parent 084aa739
Exists in master

part "yield Z=1->Z=2, boundary correction

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
four_levels_model.py
@@ -242,7 +242,7 @@ class HeatingGas: @@ -242,7 +242,7 @@ class HeatingGas:
242 #the anion being unstable, any energy is enough to detach the electron 242 #the anion being unstable, any energy is enough to detach the electron
243 243
244 ''' yield from neutral to the first photoionization ''' 244 ''' yield from neutral to the first photoionization '''
245 - first_part = np.where(self.energy_neutral<=self.ip_neutral)[0] 245 + first_part = np.where(self.energy_neutral<self.ip_neutral)[0]
246 246
247 second_part = np.where( (self.energy_neutral>=self.ip_neutral) & (self.energy_neutral<(self.ip_neutral+9.2) ) )[0] 247 second_part = np.where( (self.energy_neutral>=self.ip_neutral) & (self.energy_neutral<(self.ip_neutral+9.2) ) )[0]
248 third_part = np.where((self.energy_neutral>self.ip_neutral+9.2))[0] 248 third_part = np.where((self.energy_neutral>self.ip_neutral+9.2))[0]