%++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ %.COPYRIGHT (c) 1990-2010 European Southern Observatory %.IDENT indiskasci.hlq %.AUTHOR KB, IPG/ESO %.KEYWORDS MIDAS, help files, INDISK/ASCII %.PURPOSE On-line help file for the command: INDISK/ASCII %.VERSION 1.0 02-MAR-1995 : Creation, KB %---------------------------------------------------------------- \se SECTION./ASCI \es\co INDISK/ASCII 09-FEB-2010 KB \oc\su INDISK/ASCII in_file [out_file] [npix_string] read ASCII file from disk + convert to Midas image \us\pu Purpose: Read ASCII file from disk + convert to Midas image \up\sy Syntax: INDISK/ASCII in_file [out_file] [npix_string] \ys\pa in_file = name of input ASCII file \ap\pa out_file = name of Midas image (max. 3 dimensions); \\ defaulted to toto.bdf \ap\pa npix_string = optional string with naxis,npix(1),npix(2),npix(3); \\ if not given, a 1-dim image with the no. of pixels read from the ASCII file is created; that is the default \ap\sa See also: OUTDISK/ASCII, INDISK/FITS, INTAPE/FITS, CREATE/IMAGE, CREATE/TABLE \as\no Note: If the ASCII file has less pixels than required (possible, if npix_string is specified) the remaining image pixels are set to the contents of keyword NULL(1), the user defined null value. Max. length of input lines is 10000 chars. (bytes). \on\exs Examples: \ex INDISK/ASCII zapato.asc bota Read ASCII file `zapato.asc' and convert it to the 1-dim image `bota,bdf'. NPIX(1) of `bota.bdf' will be set to the no. of pixels stored in `zapato.asc'. \xe\ex INDISK/ASCII ascii.data ? 2,200,400 Read ASCII file `ascii.data' and convert it to the 2-dim image `toto,bdf', NPIX(1,2) of `toto.bdf' is set to 200,400. If `ascii.data' does not contain 80000 pixels, the remaining pixels of `toto.bdf' are set to the contents of keyword NULL(1). \xe \sxe