Commit 18d0e27137d956f72241403847523db15e7725c6

Authored by Jalabert
1 parent a08dc7ee
Exists in master

add commentaries

Showing 1 changed file with 3 additions and 2 deletions   Show diff stats
four_levels_model.py
... ... @@ -375,7 +375,8 @@ class HeatingGas:
375 375 self.energy[energy_range_power_absorbed]) #erg s-1
376 376 heating_pah_dc = np.trapz(photo_absorption_dc[energy_range_power_absorbed],\
377 377 self.energy[energy_range_power_absorbed]) #erg s-1
378   -
  378 + #power absorbed by each PAH charge state
  379 +
379 380 ''' total power of the radiation absorbed by pahs '''
380 381 total_absorbed_radiation_power = self.frac_anion * heating_pah_a +\
381 382 self.frac_neutral * heating_pah_n +\
... ... @@ -390,4 +391,4 @@ class HeatingGas:
390 391 self.total_gas_heating = total_injected_power * (self.fc_pah/self.n_c) * 2.7e-4
391 392 #2.7e-4 : elemental abundance of C relative to H (Tielens 2021)
392 393  
393   - return self.total_gas_heating, self.g_0 , self.gamma, self.t_gas, self.n_e, self.n_c
394 394 \ No newline at end of file
  395 + return self.total_gas_heating, self.g_0 , self.gamma, self.t_gas, self.n_e, self.n_c
395 396 \ No newline at end of file
... ...