• atExtinctionGet
  • atDustGetval
  • atVDustGetval
  • atDustGetvalFast
  • atVDustGetvalFast
  • atDustGetvalFastClean
  • atDustMaskParse
  • tclDustGetval

    ABSTRACT:
    
    Routines to get falues from David Schlegel's dust maps.
    
    

    atExtinctionGet

    	Return the extinction in each filter at the specified galactic
    	coordinates.  The results are returned as a TCL keyed list, with each
    	filter (i.e., u) as the key, and the extinction in that filter as
    	the value.   This routine calls "atDustGetvalFast" at the specified
    	galactic coordinates, then uses hardwired Rv values to convert the
    	returned E(B-V) value to extinction values in each of the SDSS
    	filters.
    
    
    TCL SYNTAX:
      atExtinctionGet  "<l>" "<b>" 
    
    TCL HELP STRING:
      Return extinction in each filter at specified galactic coordinates
    
    TCL ARGUMENTS:
                     : 
      "<l>"        : Galactic longitude (degrees)
      "<b>"        : Galactic latitude (degrees)
    
    

    atDustGetval

     C ROUTINE CALLED:
     atDustGetval in atDustGetval.c
     Additional information is in the README file.
     
    
     Return the value of a dust map at the specified location
    TCL SYNTAX:
      atDustGetval  "<gall>" "<galb>" "-mapName" "-interpolate" "-verbose" 
    
    TCL HELP STRING:
      Return the value of a dust map at the specified location.  The maps 
    are from Maps of Dust IR Emission for Use in Estimation of Reddening and
     CMBR Foregrouns by Shclegel, Finkbeiner and Davie, ApJ 1998.  The maps 
    are I100 (100-micron map in MJy/Sr); X (X-map, temperature-correction 
    factor; T (temperature map in degrees Kelvin for n=2 emissivity); Ebv 
    ( E(B-V) in magnitudes) and mask, and 8-bit mask
    
    TCL ARGUMENTS:
                     : 
      "<gall>"     : galactic longitude in degrees
      "<galb>"     : galactic latitude in degrees
      "-mapName"     : I100, X, T, Ebv (default), mask
      "-interpolate" : 1: linear interp. from 4 nearest pixels (default) or 0: nearest pixel
      "-verbose"     : 0: runs quietly (default) or 1: print pixel coordinates and map values
    
    

    atVDustGetval

     C ROUTINE CALLED:
     atVDustGetval in atVDustGetval.c
     Additional information is in the README file.
     
    
     Return the value of a VDust map at the specified location
    TCL SYNTAX:
      atVDustGetval  "<gall>" "<galb>" "<value>" "-mapName" "-interpolate" "-verbose" 
    
    TCL HELP STRING:
      Return the value of a dust map at the specified location.  The maps 
    are from Maps of Dust IR Emission for Use in Estimation of Reddening and
     CMBR Foregrouns by Shclegel, Finkbeiner and Davie, ApJ 1998.  The maps 
    are I100 (100-micron map in MJy/Sr); X (X-map, temperature-correction 
    factor; T (temperature map in degrees Kelvin for n=2 emissivity); Ebv 
    ( E(B-V) in magnitudes) and mask, and 8-bit mask
    
    TCL ARGUMENTS:
                     : 
      "<gall>"     : galactic longitude in degrees
      "<galb>"     : galactic latitude in degrees
      "<value>"    : vector to store the returned values
      "-mapName"     : I100, X, T, Ebv (default), mask
      "-interpolate" : 1: linear interp. from 4 nearest pixels (default) or 0: nearest pixel
      "-verbose"     : 0: runs quietly (default) or 1: print pixel coordinates and map values
    
    

    atDustGetvalFast

     C ROUTINE CALLED:
     atDustGetvalFast in atDustGetval.c
     Additional information is in the README file.
     
    
     Return the value of a dust map at the specified location
    TCL SYNTAX:
      atDustGetvalFast  "<gall>" "<galb>" "-mapName" "-interpolate" "-verbose" 
    
    TCL HELP STRING:
      Return the value of a dust map at the specified location.  The maps 
    are from Maps of Dust IR Emission for Use in Estimation of Reddening and
     CMBR Foregrouns by Shclegel, Finkbeiner and Davie, ApJ 1998.  The maps 
    are I100 (100-micron map in MJy/Sr); X (X-map, temperature-correction 
    factor; T (temperature map in degrees Kelvin for n=2 emissivity); Ebv 
    ( E(B-V) in magnitudes) and mask, and 8-bit mask.  The first time called 
    for a map, read in the FITS file to a REGION.  Clean-up with 
    atDustGetvalFastClean.
    
    TCL ARGUMENTS:
                     : 
      "<gall>"     : galactic longitude in degrees
      "<galb>"     : galactic latitude in degrees
      "-mapName"     : I100, X, T, Ebv (default), mask
      "-interpolate" : 1: linear interp. from 4 nearest pixels (default) or 0: nearest pixel
      "-verbose"     : 0: runs quietly (default) or 1: print pixel coordinates and map values
    
    

    atVDustGetvalFast

     C ROUTINE CALLED:
     atVDustGetvalFast in atVDustGetvalFast.c
     Additional information is in the README file.
     
    
     Return the value of a VDust map at the specified location
    TCL SYNTAX:
      atVDustGetvalFast  "<gall>" "<galb>" "<value>" "-mapName" "-interpolate" "-verbose" 
    
    TCL HELP STRING:
      Return the value of a dust map at the specified location.  The maps 
    are from Maps of Dust IR Emission for Use in Estimation of Reddening and
     CMBR Foregrouns by Shclegel, Finkbeiner and Davie, ApJ 1998.  The maps 
    are I100 (100-micron map in MJy/Sr); X (X-map, temperature-correction 
    factor; T (temperature map in degrees Kelvin for n=2 emissivity); Ebv 
    ( E(B-V) in magnitudes) and mask, and 8-bit mask
    
    TCL ARGUMENTS:
                     : 
      "<gall>"     : galactic longitude in degrees
      "<galb>"     : galactic latitude in degrees
      "<value>"    : vector to store the returned values
      "-mapName"     : I100, X, T, Ebv (default), mask
      "-interpolate" : 1: linear interp. from 4 nearest pixels (default) or 0: nearest pixel
      "-verbose"     : 0: runs quietly (default) or 1: print pixel coordinates and map values
    
    

    atDustGetvalFastClean

     C ROUTINE CALLED:
     atDustGetvalFastClean in atDustGetval.c
     Additional information is in the README file.
     
    
     Remove region from memory previously retrieved from a dust map.
    TCL SYNTAX:
      atDustGetvalFastClean  "-mapName" 
    
    TCL HELP STRING:
      Removes the regions previously read into memory by the task
     atDustGetvalFastClean.  This simply frees memory.
    
    TCL ARGUMENTS:
                     : 
      "-mapName"     : I100, X, T, Ebv (default), mask
    
    

    atDustMaskParse

     C ROUTINE CALLED:
     atDustMaskParse in atDustGetval.c
     Additional information is in the README file.
     
    
     Remove region from memory previously retrieved from a dust map.
    TCL SYNTAX:
      atDustMaskParse  "<maskval>" 
    
    TCL HELP STRING:
      Returns dust mask bit info for input mask value.  Mask values are 
    determined from the atDustGetval set of commands.
    
    TCL ARGUMENTS:
                     : 
      "<maskval>"  : value of dust mask returned from atDustGetval