docs: def write_PROM_HOTB_progenitor(self,name,description):
          """
          Write a progenitor file for the PROMETHEUS/HBOT supernova code.
  
          Parameters
          ----------
          name : string
              File name for the progenitor file
          description : string
              Information to be written into the file header.
          """
          try:
              from ProgenitorHotb_new import ProgenitorHotb_new
          except ImportError:
              print('Module ProgenitorHotb_new not found.')
              return
          
          nz=len(self.get('mass'))
          prog=ProgenitorHotb_new(nz)
  
          prog.header = '#'+description+'\n'
  
          prog.xzn    = self.get('rmid')[::-1]*ast.rsun_cm
          prog.massb  = self.get('mass')[::-1]
          prog.r_ob   = max(self.get('radius'))*ast.rsun_cm
          prog.temp   = 10.**self.get('logT')[::-1]*8.620689655172413e-11 # in MeV
          prog.stot   = self.get('entropy')[::-1]
          prog.ye     = self.get('ye')[::-1]
          prog.densty = 10.**self.get('logRho')[::-1]
          prog.press  = 10.**self.get('logP')[::-1]
          prog.eint   = self.get('energy')[::-1]
          prog.velx   = self.get('velocity')[::-1]
  
          nuclei=['neut','h1','he4','c12','o16','ne20','mg24','si28','s32',
                  'ar36','ca40','ti44','cr48','fe52','fake']
  
          for i in range(len(nuclei)):
              if nuclei[i] == 'fake':
                  ni56 = self.get('fe56')+self.get('cr56')
                  prog.xnuc[:,i] = ni56[::-1]
              else:
                  prog.xnuc[:,i] = self.get(nuclei[i])[::-1]
  
          prog.write(name)