Functions

namedescription
fCamcol Extracts Camcol from an SDSS Photo Object ID
fCoordsFromEq Returns table of stripe, lambda, eta, mu, nu derived from ra,dec
fCoordType Return the CoordType value, indexed by name
fCoordTypeN Return the CoordType name, indexed by value
fDatediffSec fDatediffSec(start,now) returns the difference in seconds as a float
fDistanceArcMinEq returns distance (arc minutes) between two points (ra1,dec1) and (ra2,dec2)
fDistanceArcMinXYZ returns distance (arc minutes) between two points (x1,y1,z1) and (x2,y2,z2)
fDMS Convert declination in degrees to +dd:mm:ss.ss notation
fDMSbase Base function to convert declination in degrees to +dd:mm:ss.ss notation.
fDocColumns Return the list of Columns in a given table
fDocColumnsWithRank Return the list of Columns in a given table including the 'rank' column that is used to order the columns in query tools.
fDocFunctionParams Return the parameters of a function
fEnum Converts @value in an enum table to a string
fEqFromMuNu Compute Equatorial coordinates from @mu and @nu
fEtaFromEq Returns eta from ra,dec
fEtaToNormal Compute the normal vector from an eta value
fFiber Extracts Fiber from an SDSS Spec ID
fField Extracts Field from an SDSS Photo Object ID.
fFieldMask Returns mask value for a given name (e.g. 'seeing')
fFieldMaskN Returns description of mask value (e.g. 'SEEING PSF')
fFieldQuality Returns bitmask of named field quality (e.g. ACCEPTABLE, BAD, GOOD, HOLE, MISSING)
fFieldQualityN Returns description of quality value (e.g. ACCEPTABLE, BAD, GOOD, HOLE, MISSING)
fFirstFieldBit Returns the bit that indicates whether an objID is in the first field of a segment
fFootprintEq Determine whether point is inside the survey
fFramesStatus Returns the FramesStatus value, indexed by name
fFramesStatusN Returns the FramesStatus name, indexed by value
fGetLat Converts a 3-vector to latitude (Galactic or Survey)
fGetLon Converts a 3-vector to longitude (Galactic or Survey)
fGetLonLat Converts a 3-vector to longitude-latitude (Galactic or Survey)
fGetNearbyFrameEq Returns table with a record describing the frames neareby (@ra,@dec) at a given @zoom level.
fGetNearbyObjAllEq Returns table of all objects within @r arcmins of an Equatorial point (@ra,@dec)
fGetNearbyObjAllXYZ Returns table of photo objects within @r arcmins of an xyz point (@nx,@ny, @nz).
fGetNearbyObjEq Returns table of primary objects within @r arcmins of an Equatorial point (@ra,@dec)
fGetNearbyObjXYZ Returns table of primary objects within @r arcmins of an xyz point (@nx,@ny, @nz).
fGetNearestFrameEq Returns table with a record describing the nearest frame to (@ra,@dec) at a given @zoom level.
fGetNearestFrameidEq Returns teh fieldid of the nearest frame to (@ra,@dec) at a given @zoom level.
fGetNearestObjAllEq Returns table holding a record describing the closest object within @r arcminutes of (@ra,@dec).
fGetNearestObjEq Returns table holding a record describing the closest primary object within @r arcminutes of (@ra,@dec).
fGetNearestObjIdAllEq Returns the objId of nearest photo object within @r arcmins of ra, dec
fGetNearestObjIdEq Returns the objId of nearest photoPrimary within @r arcmins of ra, dec
fGetNearestObjIdEqMode Returns the objId of nearest @mode PhotoObjAll within @r arcmins of ra, dec
fGetNearestObjIdEqType Returns the objID of the nearest photPrimary of type @t within @r arcmin
fGetNearestObjXYZ Returns nearest primary object within @r arcminutes of an xyz point (@nx,@ny, @nz).
fGetObjectsEq A helper function for SDSS cutout that returns all objects within a certain radius of an (ra,dec)
fGetObjectsMaskEq A helper function for SDSS cutout that returns all objects within a certain radius of an (ra,dec)
fGetObjFromRect Returns table of objects inside a rectangle defined by two ra,dec pairs.
fGetUrlExpEq Returns the URL for an ra,dec, measured in degrees.
fGetUrlExpId Returns the URL for an Photo objID.
fGetUrlFitsAtlas Get the URL to the FITS file of all atlas images in a field
fGetUrlFitsBin Get the URL to the FITS file of a binned frame given FieldID and band.
fGetUrlFitsCFrame Get the URL to the FITS file of a corrected frame given the fieldID and band
fGetUrlFitsField Given a FieldID returns the URL to the FITS file of that field
fGetUrlFitsMask Get the URL to the FITS file of a frame mask given the fieldID and band
fGetUrlFitsSpectrum Get the URL to the FITS file of the spectrum given the SpecObjID
fGetUrlFrameImg Returns the URL for a JPG image of the frame
fGetUrlNavEq Returns the URL for an ra,dec, measured in degrees.
fGetUrlNavId Returns the Navigator URL for an Photo objID.
fGetUrlSpecImg Returns the URL for a GIF image of the spectrum given the SpecObjID
fHMS Convert right ascension in degrees to +hh:mm:ss.ss notation
fHMSbase Base function to convert right ascension in degrees to +hh:mm:ss.ss notation.
fHoleType Return the HoleType value, indexed by name
fHoleTypeN Return the HoleType name, indexed by value
fHtmCover Return table of HTM range pairs covering the region
fHtmCoverError Return error mesage for FhtmCover call telling what is wrong with Region definition.
fHtmEq Returns 20-deep HTM ID of a given J2000 Equatorial point (@ra,@dec)
fHtmLookup Find the htmID of the specified point on the celestial sphere
fHtmLookupEq Returns 20-deep HTM ID of a given J2000 Equatorial point (@ra,@dec)
fHtmLookupError Returns the error message that fHtmLookup generated
fHtmLookupXyz Returns HTM ID of a J2000 xyz point (@x,@y, @z).
fHtmToNormalForm Returns normal form of a region definition.
fHtmToNormalFormError Returns fHtmToNormalForm Error message
fHtmToPoint Returns (xyz) of midpoint of an HTM triangle
fHtmToString Converts an HTM to a string representaion of that HTM
fHtmToVertices Returns returns (xyz)3 of an HTM triangle
fHtmVersion Returns HTM (Hierarchical Triangular Mesh) version string.
fHtmXyz Returns HTM ID of a pint a J2000 xyz point (@x,@y, @z).
fIAUFromEq Convert ra, dec in degrees to extended IAU name
fImageMask Return the ImageMask flag value, indexed by name
fImageMaskN Return the expanded ImageMask corresponding to the flag value as a string
fInsideMask Returns the InsideMask value corresponding to a name
fInsideMaskN Returns the expanded InsideMask corresponding to the bits, as a string
fIsNumbers Check that the substring is a valid number.
fLambdaFromEq Returns lambda from ra,dec
fMagToFlux Convert Luptitudes to AB flux in nJy
fMagToFluxErr Convert the error in luptitudes to AB flux in nJy
fMaskType Returns the MaskType value, indexed by name
fMaskTypeN Returns the MaskType name, indexed by value (3-> Galaxy, 6-> Star,...)
fMJD Extracts MJD from an SDSS Spec ID
fMJDToGMT Computes the String of a Modified Julian Date.
fMuFromEq Returns mu from ra,dec
fMuNuFromEq Compute stripe coordinates from Equatorial
fNormalizeString Returns string upshifted, squeezed blanks, trailing zeros removed, and blank added on end
fNuFromEq Returns nu from ra,dec
fObj Extracts Obj from an SDSS Photo Object ID.
fObjID Match an objID to a PhotoObj and set/unset the first field bit.
fObjidFromSDSS Computes the long objID from the 5-part SDSS numbers.
fObjidFromSDSSWithFF Computes the long objID from the 5-part SDSS numbers plus the firstfield flag.
fObjType Return the ObjType value, indexed by name
fObjTypeN Return the ObjType name, indexed by value
fPhotoDescription Returns a string indicating Object type and object flags
fPhotoFlags Returns the PhotoFlags value corresponding to a name
fPhotoFlagsN Returns the expanded PhotoFlags corresponding to the status value as a string
fPhotoMode Returns the Mode value, indexed by name (Primary, Secondary, Family, Outside)
fPhotoModeN Returns the Mode name, indexed by value ()
fPhotoStatus Returns the PhotoStatus flag value corresponding to a name
fPhotoStatusN Returns the string describing to the status flags in words
fPhotoType Returns the PhotoType value, indexed by name (Galaxy, Star,...)
fPhotoTypeN Returns the PhotoType name, indexed by value (3-> Galaxy, 6-> Star,...)
fPlate Extracts plate from an SDSS Spec ID
fPrimaryObjID Match an objID to a PhotoPrimary and set/unset the first field bit.
fPrimTarget Returns the PrimTarget value corresponding to a name
fPrimTargetN Returns the expanded PrimTarget corresponding to the flag value as a string
fProgramType Return the ProgramType value, indexed by name
fProgramTypeN Return the ProgramType name, indexed by value
fPspStatus Returns the PspStatus value, indexed by name
fPspStatusN Returns the PspStatus name, indexed by value
fRegionArcLength Computes the length of a directed arc in arcmins
fRegionAreaPatch Returns the area of a patch, defined by its regionid, convexid and patch
fRegionAreaSemiLune Returns the area of a semilune bounded by a directed arc
fRegionAreaTriangle Returns the area of a spherical triangle
fRegionBoundingCircle Returns the bounding circles of a Region
fRegionContainsPointEq Returns 1 if specified region contains specified ra,dec point, else returns zero.
fRegionContainsPointXYZ Returns 1 if specified region contains specifed x,y,z point, else returns zero.
fRegionConvexIdToString Return a normalized string description of the named convex (from the HalfSpace table).
fRegionConvexToArcs Returns the ordered arcs of a spherical Convex
fRegionFromString Return a region table that describes the input region.
fRegionFuzz Returns a displacement that expands a circle by the 'buffer'
fRegionGetObjectsFromRegionId Returns various objects within a region given by a regionid
fRegionGetObjectsFromString Returns various objects within a region given by a string
fRegionIdToString Return a string description of the named region (from the HalfSpace table).
fRegionNormalizeString Returns the simplified version of a region string
fRegionOverlap Returns regions of a given type overlapping a regionString
fRegionOverlapId Returns the overlap of a given region overlapping another one
fRegionOverlapString Returns the overlap of a given region overlapping a regionString
fRegionPredicate Returns predicate testing if a point (cx,cy,cz) point is inside the region
fRegionsContainingPointEq Returns regions containing a given point
fRegionsContainingPointXYZ Returns regions containing a given point
fRegionStringToArcs Returns the ordered arcs of a Region joined with a regionString
fRegionToArcs Returns the ordered arcs of a spherical Region
fReplace Case-insensitve string replacement
fRerun Extracts Rerun from an SDSS Photo Object ID
fRotateV3 Rotates a 3-vector by a given rotation matrix
fRun Extracts Run from an SDSS Photo Object ID
fSDSS Computes the 6-part SDSS numbers from the long objID
fSecTarget Returns the SecTarget value corresponding to a name
fSecTargetN Returns the expanded SecTarget corresponding to the flag value as a string
fSkyVersion Extracts SkyVersion from an SDSS Photo Object ID
fSpecClass Returns the SpecClass value, indexed by name
fSpecClassN Returns the SpecClass name, indexed by value
fSpecDescription Returns a string indicating class, status and zWarning for a specObj
fSpecidFromSDSS Computes the long Spec IDs
fSpecLineNames Return the SpecLineNames value, indexed by name
fSpecLineNamesN Return the SpecLineNames name, indexed by value
fSpecZStatus Return the SpecZStatus value, indexed by name
fSpecZStatusN Return the SpecZStatus name, indexed by value
fSpecZWarning Return the SpecZWarning value, indexed by name
fSpecZWarningN Return the expanded SpecZWarning corresponding to the flag value as a string
fStripeOfRun returns Stripe containing a particular run
fStripeToNormal Compute the normal vector from an eta value
fStripOfRun returns Strip containing a particular run
fTiMask Returns the TiMask value corresponding to a name
fTiMaskN Returns the expanded TiMask corresponding to the flag value as a string
fTokenAdvance Get offset of next token after offset @i in string @s
fTokenNext Get token starting at offset @i in string @s
fTokenStringToTable Returns a table containing the tokens in the input string
fWedgeV3 Compute the wedge product of two vectors