Implements stellar initial mass functions from Romano et al. 2005.
Full Citation: Romano D., Chiappini C., Matteucci F., Tosi M., 2005,
A&A, 430, 491 (2005A&A...430..491R)
    | 
       
     | 
      
        
          by_number(imf_mass_function) 
      Convert an IMF by mass to an IMF by number. | 
          
            source code
            
           | 
         
       
      
     | 
  
    | 
       
     | 
      
      
     | 
  
    | 
       
     | 
      
      
     | 
  
    | 
       
     | 
      
      
     | 
  
    | 
       
     | 
      
      
     | 
  
    | 
       
     | 
      
      
     | 
  
    | 
       
     | 
      
        
          imf_mass_Salpeter(mass) 
      Salpeter stellar Initial Mass function by mass via Romano et al. (2005). | 
          
            source code
            
           | 
         
       
      
     | 
  
    | 
       
     | 
      
      
     | 
  
    | 
       
     | 
      
      
     | 
  
    | 
       
     | 
      
        
          test_plot_norm_imf(imf_function) 
      Plot and test the normalization of imf_function. | 
          
            source code
            
           | 
         
       
      
     | 
  
    | 
       
     | 
      
      
     | 
  
    | 
       
     | 
        coeff_Scalo86 = array([ 0.19,  0.24])
     | 
  
    | 
       
     | 
        pow_Scalo86 = array([-1.35, -1.7 ])
     | 
  
    | 
       
     | 
        lims_Scalo86 = array([  0.,   2.,  Inf])
     | 
  
    | 
       
     | 
        coeff_Scalo98 = array([ 0.39,  0.39,  0.16])
     | 
  
    | 
       
     | 
        pow_Scalo98 = array([-0.2, -1.7, -1.3])
     | 
  
    | 
       
     | 
        lims_Scalo98 = array([  0.,   1.,  10.,  Inf])
     | 
  
    | 
       
     | 
        coeff_Tinsley = array([ 0.21,  0.26,  2.6 ])
     | 
  
    | 
       
     | 
        pow_Tinsley = array([-1. , -1.3, -2.3])
     | 
  
    | 
       
     | 
        lims_Tinsley = array([  0.,   2.,  10.,  Inf])
     | 
  
    | 
       
     | 
        coeff_Kroupa = array([ 0.58,  0.31,  0.31])
     | 
  
    | 
       
     | 
        pow_Kroupa = array([-0.3, -1.2, -1.7])
     | 
  
    | 
       
     | 
        lims_Kroupa = array([ 0. ,  0.5,  1. ,  Inf])
     | 
  
    | 
       
     | 
        mc = 0.079
     | 
  
    | 
       
     | 
        logmc = -1.10237290871
     | 
  
    | 
       
     | 
        sigma = 0.69
     | 
  
    | 
       
     | 
        twosigsq = 0.9522
     | 
  
    | 
       
     | 
        fa = 0.85
     | 
  
    | 
       
     | 
        fb = 0.24
     | 
  
    | 
       
     | 
        __package__ = 'enrichpy'
     |