VMToPhotons:

Path: Imaging/Optics

% Converts apparent visual magnitude to photons/s/micron.
   Includes corrections for temperature and wavelength.
   Inputs can be length 1 or n. If more than one input is of length
   greater than 1 they must have the same length.

   Type VMToPhotons for a demo.

   Since version 11.
------------------------------------------------------------------------
   Form:
   p = VMToPhotons( vM, t, l )
------------------------------------------------------------------------

   ------
   Inputs
   ------
   v                 (1,:)  Visual magnitude
   t                 (1,:)  Temperature (deg-K)
   l                 (1,:)  Wavelength (nm)

   -------
   Outputs
   -------
   i                 (:)   Photons/s/m^2/micron

------------------------------------------------------------------------
   References: Witthoft, C. http://pubpages.unh.edu/~mwidholm/MathPad/
               examples/starmag.txt
------------------------------------------------------------------------

Children:

Common: Graphics/Plot2D

Back to the Imaging Module page