IOF2MAG
Name
iof2mag
Purpose (one Line Only)
Compute the flux (mJy) of unit surface area (1 km$^2$) with unit reflectivity
Description
Cloned from amag.f
The magnitude of the object is computed using an absolute B magnitude
of the sun of 5.51 (at 10 parsecs). This corresponds to a B magnitude of
-26.066 at 1 AU. The formula for computing the magnitude of the object
is: ( galb * rad^2 )
Mb = -26.066 - 2.5 log( ------------ )
( r^2 * d^2 )
The units in this equation are not the same as those passed to the function.
The units are: [rad] = cm, [r] = cm, [d] = AU.
All full powers of ten are removed from inside the log to prevent
under/overflow.
here galb is taken to be the same as I/f, or bi-directional reflectance
divided by pi.
Category
Photometry
Calling Sequence
result=iof2mag(iof,filter,radius,sun,earth)
Inputs
iof - I/F value, averaged over body
filter = scalar string of filter of the calculation
radius = radius of object in kilometers, only used to calculate area
sun - distance from sun to object in AU
earth - distance from earth (observer) to object in AU
Optional Input Parameters
Keyword Input Parameters
Outputs
return value is the standard magnitude for the given I/F value
Keyword Output Parameters
Common Blocks
Side Effects
Restrictions
Procedure
Modification History
2012/01/29, Written by Marc W. Buie, Southwest Research Institute