General SDSS Library

List of Routines

  • ANGLE_ROWCOL2RADEC
  • BOLO_MAG compute bolometric magnitude of g,r,i mag and zeropoint is (5,n)
  • CASID
  • CASID2PHOTOID Convert a set of CAS ids (skyserver ids) to a photoids.
  • CASID_EXTRACT Extract run,rerun,camcol,field,id (and sky, first_field)
  • CETA2STRIPENUM Find which stripe goes with this eta.
  • CIRC_RADEC Circles an ra and dec position on the current display. We need
  • COMPUTE_ZEROPOINT compute zeropoint,zpt, from from calib info a,b,c,k are from fcPCalib
  • CREATE_PHOTOMAP Map ra/dec to pixel coordinates.
  • CSURVEY2EQ
  • DISPLAY_FCHART make the chart. Label axis with arcminutes from the center. Output
  • EQ2CSURVEY Convert from ra, dec to the corrected clambda, ceta
  • EQ2GC convert from equatorial to great circle coordinates
  • EQ2ROWCOL convert from equatorial coordinates to row/col, ignoring higher
  • EQ2SURVEY Convert from ra, dec to lambda, eta (SDSS survey coordinates)
  • ETA2STRIPENUM Find which stripe goes with this eta.
  • EXTRACT_GALAXIES Extracts a clean set of galaxies
  • EXTRACT_STARS Extracts a clean set of stars suitable for PSF determination
  • FCHART Create a finding chart for an SDSS object.
  • FCHART_CIRC_RADEC Build a finding chart and (unless requested otherwise ) circle positions
  • FIELD2STRING Function outputs a string containing field of a photo tsObj
  • FIELD_INDICES Takes arrays of run,rerun,camcol,field and finds the number of uniq hashs
  • FIND_RADEC Find the run, camcol and field that contain the input ra and dec.
  • FIND_RADEC_ASTRANS Find the run, camcol and field that contain the input ra and dec.
  • FIND_RADEC_FCHART Create a finding chart for the input coordinates.
  • FLUX2LUP Convert flux to SDSS luptitudes; this has different conventions than nmgy2lups which gives the expected result for the princeton redux.
  • GC2CSURVEY convert from SDSS great circle to corrected SDSS survey coordinates
  • GC2EQ convert from great circle to equatorial coordinates
  • GC2SURVEY convert from SDSS great circle to SDSS survey coordinates
  • GET_FAMILY retrieves atlas images for an object and any other objects
  • ID2STRING Function outputs a string containing id of a photo object
  • LUP2FLUX convert SDSS luptitudes to flux; this has different conventions than lups2nmgy which gives the expected result for the princeton redux.
  • LUPS2NMGY Convert asinh mags, or luptitudes, to nanomaggies.
  • MAKE_CMODEL_COUNTS Create model magnitudes by combining the exponential fit with the
  • MAKE_COLOR_FLAG takes the str from search color_space
  • MARK_RADEC Marks an ra and dec position on the current display using the input
  • MARKSTRUCT_MARK_RADEC GNU General Public License for more details.
  • MUNU2ROWCOL convert from great circle coordinates to row/col, ignoring higher
  • NMGY2LUPS Convert flux in nanomaggies to asinh mags, or luptitudes.
  • OBJ_INFO For a list of objects (index) make color-color diagrams, size
  • PHOTO_MATCH Match to lists of photo objects by their run, rerun, camcol, field,
  • PHOTOID Create unique super id from run,rerun,camcol,field,id
  • PHOTOID2CASID Convert a set of photoids to CAS ids (skyserver ids)
  • PHOTOID_EXTRACT Extract run,rerun,camcol,field,id from a superid (Ulong64) created with
  • PHOTOMAP map ra and dec to row and col. The map centers on the first
  • PLOT_1COLOR make color-color plot from sloan colors. Plot one set of data
  • PLOT_COLORS make color-color plots from sloan colors. Plot one set of data
  • READ_ATLAS Read atlas images specified by SDSS run,rerun,camcol,field,id,
  • READ_OBJMASK Read in object mask data for objects in an SDSS atlas file.
  • READ_SPDIAG1D read in the spDiag file for a given plateid (mjd)
  • READ_SPEC1D Read spectra data for the input plateid and fiberid. The mjd is optional;
  • RGBFCHART Create a color finding chart for the input ra/dec position
  • ROWCOL2EQ convert from row/col to equatorial coords, ignoring higher
  • ROWCOL2MUNU convert from row-column to great circle coordinates (mu,nu)
  • RUN2STRING Function outputs a string containing run of a photo tsObj
  • RUN_EXTRACT
  • SDSS__DEFINE The main SDSS class file. Inherits sdss_util, sdss_files, sdss_flags.
  • SDSS_EXTRACT
  • SDSS_FILE Return an SDSS file name for the input filetype, and id information.
  • SDSS_FILELIST Return a list of files for the input filetype and SDSS id info.
  • SDSS_FILES__DEFINE A class definition file containing methods for dealing with sdss files.
  • SDSS_FLAG Return the SDSS flag value given the flag name.
  • SDSS_FLAG_PLOT Plot a histogram of the flags set for a set of objects.
  • SDSS_FLAG_PRINT Print all flags that are set.
  • SDSS_FLAG_SELECT Check the bits in a set of input flags. The flags, flag type, and
  • SDSS_FLAG_SELECT_STRUCT Return a flag selection structure for a given flag type. This can be
  • SDSS_FLAG_STRUCT Return the flag structure for all types or a given type if
  • SDSS_FLAGS__DEFINE Defines a set of methods for doing SDSS flag selection.
  • SDSS_GENRAND Generate random points for photometric or spectroscopic galaxies using
  • SDSS_MAGUSE Given a structure, look for magnitude arrays and return the tag index of the
  • SDSS_OBJNAME Generate a standard sdss filename chunk from SDSS id info.
  • SDSS_POSTGRES__DEFINE This class inherits the POSTGRES class and provides a simple way to access
  • SDSS_PSFREC reconstruct the psf at position (row,col) in an sdss
  • SDSS_READ Generic SDSS file reader. Reads asTrans, tsObj, tsField, fpObjc, psField...
  • SDSS_RECFRAME Reconstruct an SDSS frame from atlas images.
  • SDSS_RUNSTATUS Return the runstatus information structure. Load the data if needed.
  • SDSS_RUNSTATUS_CREATE Find files and other info for the runs in the SDSS DATA_DIR and
  • SDSS_RUNSTATUS_PRINT Decode and print the status for the input run/rerun
  • SDSS_SPEC_TYPE Convert the spec class number to a string representing the type of the
  • SDSS_SPECLINE_NAME Convert the restframe wavelength of a line to its name.
  • SDSS_TRANSFORM__DEFINE Defines a set of methods for coordinate transformations.
  • SDSS_UTIL__DEFINE Defines a set of utility methods usefule for SDSS data manipulation.
  • SDSSIDL_CONFIG Return the value of an sdssidl configuration variable
  • SDSSIDL_LOAD_CONFIG Load the configuration file. The $SDSSIDL_CONFIG variable msut be set by
  • SDSSIDL_SETUP Set up SDSSIDL variables. The global variable !sdss is created. This
  • SEARCH_COLOR_SPACE For taking an sdss catalog and selecting objects of desired
  • SELECT_COLORS An interactive tool for selection sdss objects based on their
  • SPHOTO_MATCH Match two photo structs by their run, rerun, camcol, field,
  • STRIPE2STRING Function outputs a string containing stripe of a photo tsObj
  • SURVEY2EQ Convert from lambda, eta (SDSS survey coordinates) to ra, dec
  • VIEW_ATLAS Display the atlas images for an object. Images are read using the
  • VIEW_SPEC1D Plot an SDSS spectra. The redshift, spectral classification, spectro id,


Documentation for sdssidl v1.3.0
Last modified: Tue Oct 9 13:37:36 2007