gals/
ajs_schechter.pro
topajs_schechter
result = ajs_schechter(absmag [, params] [, mstar=mstar] [, alpha=alpha] [, phistar=phistar] [, loglum=loglum])
This function generates a Schechter function along an input array of absolute magnitudes.
Compatible with mpfit
Return value
Array of phi for corresponding absmag
Parameters
- absmag in required
- Array of absolute magnitudes 
- params in optional
- [mstar,alpha,phistar] OR input separately: 
Keywords
- mstar in optional
- alpha in optional
- phistar in optional
- loglum in optional
- Set to /loglum to input log10 luminosity instead of absolute magnitudes 
Author information
| History: | 5 Sep 2007 Created, Anthony Smith 17 Jan 2008 Added loglum keyword, AJS | 
File attributes
| Modifcation date: | Fri Jun 6 08:19:26 2008 | 
| Lines: | 48 | 
| Docformat: | rst rst | 
![[attach.png]](../idldoc-resources/attach.png)