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: CommonData/SwooshWatermark
Common: General/CellToMat
Common: General/MatToCell
Common: General/Watermark
Common: Graphics/NewFig
Common: Graphics/Plot2D
Common: Graphics/PltStyle

Back to the Imaging Module page