Utilities

List of Routines

  • ADD_ARRVAL Add an element to an array. If input array is undefined,
  • ARRAY_INTERSECT Pick the common elements from two arrays. Duplicates are removed. The
  • ARRAY_UNION Return the union of elements in two arrays. Duplicates are removed.
  • ARRSCL Rescale the range of an array.
  • BINARY_SEARCH Perform a binary search on arr, an input array, for the closest match
  • CLOSE_MATCH this will find close matches between 2 sets of points (t1,s1)
  • COMBINE_PTRLIST Combine a ptrarr, each containg pointers to list of the same types of
  • DELVARX Make input variables undefined. Similar to intrinsic DELVAR, but
  • DOC_METHOD Display the documentation for a method of an IDL class. This requires that
  • FSHIFT Routine to shift an image by non-integer values
  • GET_CONSECUTIVE Return indices for first/last pairs of consecutive integers.
  • INTFUNC Make a cumulative integral function. Basically just tabulate
  • KMAP this maps (xin,yin) to (xout,yout)
  • KMAP_INV this find the inverse map for kx and ky (any order)
  • MAKE_DEVAUC Dave Johnston's code. My Changes. E.S.S.
  • MAKE_EXP make an array with values set to an ellitical exponential.
  • MAKE_GAUSSIAN make an array with a gaussian in it
  • MAKEGAUSS make an array with values set to a gaussian. Assumes center of
  • MATCH_DUP Find the matching elements of two arrays of integers (arr1 and arr2),
  • MATCH_MULTI Find the elements of an array of integers (arr2, which may contain
  • MFACT find the factorial of each element in an array.
  • MKSTR Make a string of a give length. Default is an empty string, but a value can be sent. Can optionally make string arrays.
  • NTOSTR Convert a number to a string. Cuts off white spaces.
  • PARSE_CONFIG Parse simple 2 column "option value" config file. Each is read in as a
  • PRO2HTML Convert an IDL .pro file into a pretty HTML document, with EMACS-like
  • PROMPT_KBRD Prompt the user for an input key. Wrapper for get_kbrd() that only prompts
  • PTIME print a time interval in a nice format if days,hours,minuties,seconds.
  • REFORM_PTRLIST Take an array of pointers, each of which may point to arrays themselves,
  • RND Round a number to the nearest decimal point. Similar to build-in round, but
  • STRINGREP Get a string representation that can be used with execute() to create a


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