... Similar to Unix MIDAS commands also accept input from an ASCII file instead of an input line typed on the terminal. ... Different ways exist to save the output of a MIDAS command in an ASCII file besides just using the logfile. There is a set of PRINT/... commands to print out the contents of the different MIDAS data objects, e.g. PRINT/TABLE . ... Another possibility which is applicable to all MIDAS commands, not just the PRINT commands, is to specify the output file directly in the command. ...
Next: MIDAS Command Language Up: Monitor and Command Previous: Input/Output Redirection in . ... The basic commands are executed inside the MIDAS monitor, which is the program you are interacting with. All other commands are implemented by executing a MIDAS procedure љ which runs one or more programs in a subprocess (child process). During the time a command is being processed in the subprocess, the MIDAS monitor is suspended until the corresponding program terminates in the subprocess. ...
... Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. ... This General Public License applies to most of the Free Software Foundation's software and to any other program whose authors commit to using it. ... This License applies to any program or other work which contains a notice placed by the copyright holder saying it may be distributed under the terms of this General Public License. ... This is free software, and you are welcome . ...
Next: Passing Parameters in Up: Monitor and Command Previous: Execution of Commands . The MIDAS command language ( MCL ) consists of all the commands which you enter interactively, and an additional set of commands to provide the necessary tools to write MIDAS ``programs'', called MIDAS procedures . ... The following Command Language commands provide the necessary programming constructs like looping and conditional branching for MIDAS procedures, they cannot be used interactively: . ...
Next: Specifying Sub-Image Up: MIDAS Data Structures Previous: Specifying Elements in . In some commands it is necessary to specify the columns and rows of an image to which that command should refer. ... world coordinates, indicated via real or integer numbers: 20.0,300 . pixel numbers, indicated via integers preceded by @: @35,@200 . ... frame[x,y,z] = value , e.g. to set the pixel in row 27 and column 1023 of the 2-dim image lola.bdf to 1.234 , use lola[@1023,@27] = 1.234 . ...
Next: Command Syntax Up: MIDAS Data Structures Previous: Specifying Pixels in . In all MIDAS commands which accept images as parameters you can also provide subimages in the syntax specified above. For example, the command LOAD/IMAGE loads an image into the MIDAS display (window). ... Midas 567> LOAD/IMAGE mygalaxy . would try to display the whole 2-dim image mygalaxy.bdf , whereas . Midas 568> LOAD/IMAGE mygalaxy[@100,@200:@199,@299] . ...
... A MIDAS command line is structured as command/qualifier par1 par2 ... par8 !comments . ... In case you omit the qualifier, the default qualifier of that command is used by MIDAS. The default qualifier of a MIDAS command may be displayed via SHOW/COMMAND command . ... If the command procedure which is activated by a MIDAS command uses the CROSSREF command, it is also possible to execute that command via: command/qualifier label4=par4 label1=par1 label7=par7 ... !comments . ... command/qualifier ? ...
Next: Command Line Editing Up: Command Syntax Previous: Command Syntax . By default, the last 15 commands entered on the terminal are kept in an internal buffer (the no. of commands saved can be changed via SET/BUFFER ). To recall (and execute) any of these commands, simply type the associated command number. This is the number ``xyz'' appearing in the prompt Midas xyz > when that command was entered. ... For example, if the last two commands in your command buffer are: . ...
Next: Command Line Suspension Up: Command Syntax Previous: Command Recalling . The commands in the internal command buffer may also be edited. ... To edit a MIDAS command, type the command number preceded by a dot (period) or followed by a dot. ... Also the commands recalled via the arrow keys can be edited. ... So if you repeat or edit a certain command via its MIDAS command--number at least once in 15 command inputs, this command will always be kept in the buffer. ...
Next: MIDAS Data Structures Up: Monitor and Command Previous: Starting the MIDAS . Care has been taken that MIDAS and the Host Operating System (DCL for VMS and Bourne or C-shell for Unix) co--exist smoothly and complement each other. ... Since images, tables, etc. are standard disk files, all host commands related to file operations can be employed. ... The output љ from MIDAS commands can be redirected to ASCII files enabling easy combination of MIDAS and host commands. ...
... Here we describe and discuss the various data entities (structures) that MIDAS recognizes. ... The paragraphs below describe the structure of descriptors, and keywords, and the methods for specifying the individual data values in images and tables. Note is no special syntax for file names in MIDAS. ... If you do want to use a file name with these special characters in a COMPUTE/IMAGE command you have to enclose the full name in quotes, i.e. Midas 456> COMPUTE/IMAGE res = 12 + "quasar01 + 12.bdf" . ...
Next: Specifying Keywords Up: MIDAS Data Structures Previous: MIDAS Data Structures . Descriptors have been derived from the concepts used in a FITS file header and have many similarities with the FITS keywords. ... Writing values into positions beyond the current length leads to an automatic extension of the descriptor (and update of its length) just as a text file is extended by the ``editor'' when you are editing it. ... For example, WRITE/DESCR imgfile Descname/C/1/7 Anyname . ...
Next: Specifying Elements in Up: MIDAS Data Structures Previous: Specifying a Descriptor . As is the case for descriptors, keywords also have a name (max. 8 chars.), a type and a length (i.e. no. of elements). ... In order to write a value to a keyword, the same format as for descriptors is used. WRITE/KEYWORD INPUTC/C/1/8 AKeyword . ... key = value , e.g. to set the 12th element of keyword INPUTR to 1.234 , use . ... READ/KEYWORD, WRITE/KEYWORD, SHOW/KEYWORD, DELETE/KEYWORD, COPY/KEYWORD, . ...
... List of Often Used Commands . ... Special Functions available for operations on keywords . Conversion between ASCII Files and MIDAS Tables . Commands to Define Tables . Commands to Display a Table . ... Commands to Transfer Table Data . Table Editor COMMAND Functions . ... Relation between FITS and MIDAS data types . ... Name translation between standard FITS keywords and MIDAS descriptors. ... Name translation between special non-standard FITS keywords and MIDAS descriptors. ...
Next: Specifying Pixels in Up: MIDAS Data Structures Previous: Specifying Keywords . The MIDAS table file system is described in detail in chapter 5 of this volume. Here we just explain briefly how to access the various elements in a table file. To do so, it is necessary to specify the table name , the column and the row . ... would display the element in column 3 of row 10 in table file tname.tbl . ... All table commands default the data files to tables with extension .tbl . ...
. Up: No Title Previous: Index . This document was generated using the LaTeX 2 HTML translator Version 95.1 (Fri Jan 20 1995) Copyright ї 1993, 1994, Nikos Drakos , Computer Based Learning Unit, University of Leeds. The command line arguments were: . latex2html vol1.tex . The translation was initiated by Rein Warmels on Mon Jan 22 12:06:29 MET 1996 . Rein Warmels . Mon Jan 22 12:06:29 MET 1996
. Next: Some Useful Commands Up: Getting Started Previous: Exit and Logout . It is possible to execute commands of the operating system inside MIDAS. This is done by typing a $ followed by the operating system command you want to have executed. After this command has been finished you can continue your work inside MIDAS. Rein Warmels . Mon Jan 22 12:06:29 MET 1996
. Next: Monitor and Command Up: Getting Started Previous: Executing System Commands . In table you will find a list of some of the most frequently used MIDAS commands. Refer to the detailed command description or the on--line HELP for more details . љ љ . Table: List of Often Used Commands . Rein Warmels . Mon Jan 22 12:06:29 MET 1996
Next: Starting the MIDAS Up: No Title Previous: Some Useful Commands . ... Then follows the largest and most detailed section (section 6), which gives in-depth information about the MIDAS command language ( MCL ). With MCL you can write high level MIDAS ``programs'' which are called MIDAS procedures. ... All the commands related to MIDAS catalogs are listed in section 9, together with an example of how to use catalogs in MIDAS procedures. ... Specifying a Descriptor . ... MIDAS Command Language . ...