>  Docs Center  >  Libraries  >  JBIU  >  MM_DIST
Libraries

MM_DIST

MM_DIST

Name


    MM_DIST

Purpose


    Converts between distance modulus m-M and distance in parsecs.

Category


    Astro

Calling Sequence


    Result = MM_DIST()

Keyword Parameters


    MM: Input distance modulus m-M.
    DIST: Input distance in parsecs.

Outputs


    If mM is specified, then Result is the distance in parsecs. If DIST
    is specified, then Result is the distance modulus m-M.

Example


    Calculate distance of an object with distance modulus m-M=16.8:
    distance = mM_DIST(mM=16.8)
    Calculate the distance modulus of an object at 350pc:
    distmod = mM_DIST(DIST=350.)

Modification History


    Written by: Jeremy Bailin
    10 June 2008 Public release in JBIU



© 2024 NV5 Geospatial Solutions, Inc. |  Legal
   Contact Us