scopesim_templates.stellar.imf.theta_closed# scopesim_templates.stellar.imf.theta_closed(x)# Pass in float or array of floats (x) and return 0 for x<0 and 1 for everything else.