📄 misc.readme
字号:
Miscellaneous Procedures pro/misc Jan 2009The procedures in this directory are general utility procedures that do notinvolve astronomy. They are included here either because they are requiredby an astronomy-related procedure, or because they are thought to be of sufficient general interest.The procedure ASTROLIB defines the non-standard system variables !TEXTOUT,!TEXTUNIT and !PRIV which some Astronomy Library procedures require to be defined before they can compile.The procedures BREAK_PATH, FIND_ALL_DIR, FIND_WITH_DEF and CONCAT_DIR were originally from the Solar Library ( http://sohowww.nascom.nasa.gov/solarsoft/gen/idl/system/ ) but do notcontain the VMS capabilities of the Solar Library versions. ASTROLIB - Add the non-standard system variables in use in the IDL Astronomy User's LibraryBLKSHIFT - Shift a block of data to a new (possibly overlapping) position in a fileBOOST_ARRAY - Append one array onto another, adjusting dimensions if necessaryBREAK_PATH() - break up a !PATH-like string into individual directoriesBSORT() - Like the IDL SORT function but subscript order is maintained when value are equal -- like a bubble sort.CHECKSUM32 - Compute the 32bit checksum of an array (ones-complement arithmetic)CIRRANGE - Force an angle to be in the range 0 to 2*!PI (or 0 to 360).CONCAT_DIR - concatenate directory and file name for current OSDELVARX - Delete an IDL variable; like DELVAR but works at any calling levelDETABIFY() - Replace tabs in a character string by equivalent number of spacesEXPAND_TILDE() - Expand the tilde in Unix directory namesF_FORMAT() - Find the "best" F format to display an array of REAL*4 numbers.FDECOMP - Decompose a file name (Disk + Directory + Name + Extension + Version)FIND_ALL_DIR() - Finds all directories under a specified directory.FIND_WITH_DEF - Search for files with default path and extensionFINDPRO - Find all occurrences of a procedure in one's !PATHFORPRINT -Print a set of vectors by looping over each index valueGETOPT() - Parse a user supplied string into numeric value(s).GETPRO - Search !PATH directory for a procedure and copy into user's directoryGETTOK() - Extract a string up to a specified character.GETWRD() - Get specified item (word) from a string (in /jhuapl)HGREP - Find a substring in a FITS header (or any other string array)HOST_TO_IEEE - Convert IDL variable from host machine bit order to IEEEHPRINT - Pretty terminal display of a FITS header (or other string array)IDL_VALIDNAME() - Emulate intrinsic IDL_VALIDNAME() function for V5.6 and earlierIEEE_TO_HOST - Convert IDL variable from IEEE bit order to host machineISARRAY() - Determine if an IDL variable is an array (in /jhuapl)IS_IEEE_BIG() - Determine if the host machine is IEEE big endian LIST_WITH_PATH() - Search for files within specified directory pathMAKE_2D - Change from 1-D indexing to 2-D indexingMATCH - Find the subscripts where the values of two vectors match.MATCH2 - Find the matches for each element of two arrays.MINMAX() - Return the min and max of an array in an 2 element vectorMRD_SKIP - Skip a number of bytes from current location in a file or Unix pipeN_BYTES() - Return the number of bytes in an IDL variableNINT() - Like intrinsic ROUND() function but returns integer instead of longNULLTRIM() -Delete all characters after, and including, the the first null byte(0). Called by TAB_PUT.ONE_ARROW - Draw an arrow labeled with a single characterONE_RAY - Draw a ray by specifying starting point, angle, and lengthORDINAL() - Return the English equivalent of ordinal numbers, i.e. '1st','2nd'POLREC - Convert from polar to rectangular coordinates (in /jhuapl)QGET_STRING() - Read a string (eg. password) from the keyboard without echoing itRDFLOAT - Quickly read an ASCII file with columns of data into IDL vectorsREAD_KEY() - Like GET_KBRD but returns a code for escape sequences.READCOL - Read a file of free-format ASCII data into IDL vectorsREADFMT - Quickly read a file of fixed-format ASCII data into IDL vectorsRECPOL - Convert from rectangular to polar coordinates (in /jhuapl)REMCHAR - Remove all appearances of a character from a string.REM_DUP() - Remove duplicate values from a vector.REMOVE - Contract a vector or up to 8 vectors by removing specified elements.REPCHR() - Replace all occurrences of one character by another (in /jhuapl)REPSTR() - Replace all occurrences of one substring in a string by another.SELECT_W - Allow user to interactively select from a list of stringsSPEC_DIR() - Complete specification of a file name using default disk & directorySTORE_ARRAY - Insert one array into another, adjusting dimensions if necessarySTR_INDEX - Get all indicies of a substring within a stringSTRCOMPRESS2() - Remove blanks around specified spaces in a stringSTRN() - Convert a number to a string and remove padded blanks.STRNUMBER()- Determine whether a string is a valid numeric value.TEXTOPEN - Open a file for text output as specified by !TEXTOUT Controls the print output device for many procedures.TEXTCLOSE - Close a file that had been opened by TEXTOPEN.TO_HEX() - Translate a decimal integer to a hex string. Called by AIPSNAME.VALID_NUM() - Determine if a string is a valid number (cf. STRNUMBER)VECT() - Display a set of numbers to a string with delimitersWHERENAN() - Find points equal to big-endian IEEE NaN (not a number) valuesXDISPSTR - Display a string array in a widget a with simple search capabilityZPARCHECK - Check the type and size of a parameter
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -