This routine conflicts with an IDL built-in routine of the same name. post: creates a BitOutputStream sending output to the file PROJECT: SDAC NAME: FCROSSP PURPOSE: This function returns the Vector (Cross). Private static final int BYTE_SIZE = 8 // digits per byte Private int numDigits // how many digits are currently in the buffer Private int digits // a buffer used to build up next set of digits #Conflicting types for the method name findprimefactors how toI'm pretty sure I know how to solve it but I'm just not sure what the most simple way would be is.įile file = new File("Assignment04.dat") īitOutputStream out = new BitOutputStream(file) When I call out.writeBit(bits) it won't work because I have bits set as a string value and in the method bit is set to int value. Print,adstring(, 1)Īddition of variable precision and DEC seconds precision fix.I have conflicting data types when calling my method. (3) The first two calls in (2) can be combined in a single call using IDL> print, adstring(crval) Print CRVAL vector sexigesimal format IDL> crval = sxpar(h,'CRVAL*') Extract 2 element CRVAL vector (degs) (1) Display CRVAL coordinates in a FITS header, H If only a single scalar is supplied it isĬonverted to a sexigesimal string (2I3,F5.1). RESULT - Character string containing HR,MIN,SEC,DEC,MIN,SEC formattedĪs ( 2I3,F5.(p+1),2I3,F4.p ) where p is the PRECISION PRECISION is 3 or 4, then RA and Dec should be input as Precision larger than 4 will be truncated to 4. Precision of 1 for both RA and DEC is returned to maintainĬompatibility with past ADSTRING functions. This parameter may either be the third parameter after RA,DEC PRECISION - Integer scalar (0-4) giving the number of digits after theĭecimal of DEClination. RA - Right ascension in decimal degrees, numeric scalar or vectorĭEC - Declination in decimal degrees, numeric scalar or vector RA_DEC - 2 element vector giving the Right Ascension and declination Of the declination in digits after the decimal point. RA and Dec may be entered as either a 2 element vector or as Return RA and Dec as character string in sexigesimal format. Landsman October 1998Ĭonsistent conversion between CROTA and CD matrix W. Understand reversed X,Y (X-Dec, Y-RA) axes, W. Landsman June 1995ĭon't subscript CTYPE W. 1994ĭo computation correctly in degrees W. *not* the FITS convention (first pixel is 1)Ĭonverted to IDL by B. X,Y will be in the standard IDL convention (first pixel is 0), and Y - column position in pixels, scalar or vector X - row position in pixels, scalar or vector CTYPE - 2 element vector giving projection types (def = NAXIS/2) in FITS convention (first pixel is 1,1) CRPIX - 2 element vector giving X and Y coordinates of reference pixel CDELT - 2 element vector giving increment at reference point in CD - 2 x 2 array containing the astrometry parameters CD1_1 CD1_2 For interactive purposes, use ADXY.ĪSTR - astrometry structure, output from EXTAST procedure containing: Landsman September 1997ĪD2XY Ĭompute X and Y from RA and DEC and a FITS astrometry structureĪ tangent (gnomonic) projection is computed directly other projectionsĪre computed using WCSXY2SPH. Use DEBUG keyword instead of !DEBUG September 1995Ĭonverted to IDL V5.0 W. DEBUG - If DEBUG is set, then ABSCAL will print theĬalibration units given by the BUNIT keyword. If the absolute calibration keywords do not exist, then RESULT = BSCALE*VALUE + BZERO, where the BSCALE and BZERO scalars Keyword BSCALE, and optionally BZERO and BUNIT. HEADER - A FITS header array containing the absolute calibration VALUE - Any scalar, vector, or array (usually an integer type giving a Routine Descriptions ABSCAL Īpply the FITS BZERO and BSCALE keyword values to a data array This routine, refer to the IDL Online Help Navigator This page was created by the IDL library routine
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |