|
|
This software is executed offline, typically by the Astronomer requesting an FMOS-Echidna observation. It accepts as input a list of target objects with associated mean RA/Dec coordinates, priority, magnitude, etc and outputs an allocation file (.s2o) which specifies all of the necessary information required by Echidna to configure itself for the observation. Echidna's control software is able to read the allocation file and configure itself without any additional knowledge of the field.
spineToObject.tcl &To prevent the allocation software from accessing the Subaru website to check for an updated spine list, set the $NO_CHECK_SPINE_LIST_UPDATE environment variable to "true". ie.
export NO_CHECK_SPINE_LIST_UPDATE=true




Note: allocate will allocate as many sky-subtraction targets as possible using unallocated spines (unless the minimum is set to zero). If the minimum number of sky-subtraction targets cannot be achieved using unallocated spines, allocate will deallocate low priority science targets and use those spines.
Note: for Beam-Switching and Cross-Beam-Switching fields, the minimum number of sky-subtraction targets should be set to zero.
The allocation software will automatically disable:

The Echidna Fibre Positioner Window contains a number of sub-windows:
Spine Details
This subwindow shows details about the selected spine (if any). If the mouse cursor hovers above any of the field names, a help dialog will popup that explains the field.
Object Details
This subwindow shows details about the selected object (if any). If the mouse cursor hovers above any of the field names, a help dialog will popup that explains the field.
If field values are truncated a "..." will appear at the end of the visible field value. Placing the mouse cursor over the value field will cause a dialog to popup with the full field value.
Field Plate
This window shows a representation of the Echidna field plate. Many operations can be performed on this subwindow - most of the operations are listed here.
Object Selection
A number of checkbuttons to toggle the display of items drawn on the field plate.
Mouse-3 will unselect the checkbutton.
Note that the colors may be changed with the Echidna::multiButtonColor* options in the ~/.fmosPrefs file.
Field Position
A Field Position panel to adjust the field centre.
For the up/down/left/right buttons, the field centre is offset by the number of arcseconds specified in the Offset field.
For the rotate-left/rotate-right buttons, the position angle of the field plate is rotated by the number of degrees specified in the Rotation field.

The Field Information window contains 3 sub-windows:
Details about the fibre-positioning instrument. (In this case Echidna.) Mostly only the last 4 fields will be useful to Astronomers - it will allow them to determine if there are broken (inactive) spines.
Header information about the field being observed.
See this section about the field header.
Statistics about the current allocation.
The first section summarises the allocation of science objects by priority. It shows a breakdown of all the science objects in the field by priority value & lists how many of those science objects (with the same priority value) are actually allocated.
The second section summarises the allocation by object type. It shows a breakdown of all objects in the field by object type & lists the number of those objects that are allocated. The mean fibre throughput efficiency value is the mean throughput value for all of the allocated objects of that type. The throughput value for an allocated object relates to how much a spine tilts/defocuses to reach the object. It is a percentage unit.
The third section summarises the allocation by spine type. It shows a breakdown of the allocation by spine type - science or guide.
Note: the bar-chart will only appear if you have the BLT Tk toolkit installed on your system.
The Command Output window captures output from the allocate program. The allocate program is responsible for performing most of the complex operations initiated in the GUI. Errors are highlighted in red, warnings are highlighted in blue.
The Auto-popup on option determine when the command output window should be popped up:
| Every Command | Every time the allocate program is invoked. |
| Error Detect | Only when an error is detected in the output. |
| Warning Detect | Only when a warning or error is detected in the output. (default) |
| Command Fail | Only when the allocate program exits with a non-zero return value. |
| Never | Only pops up the window when explicitly requested by the user. |

Whenever a spine item is selected, the target object to which it is allocated is also selected. If the selected spine is not allocated, the current object selection is cleared.
To only select an object:
Alternatively, Ctrl-Mouse-1 on an object will immediately allocate the object to the selected spine (if there is one).
Note: placing the mouse cursor over any field in a Field Header window will popup a simple balloon help message.
Click the arrow buttons at the top to change the selected month. Clicking on a day button will select the date.
Panning around the field plate is accomplished using the scrollbars.
Two shell scripts are included with the allocation software. They are:
Example usage:
./extract.sh field.s2o > unallocated.s2o
Note: This script is NOT SUPPORTED.
Usage:
usage: ofc.sh [-options] <file> available options are: -h help/usage information -m <n> step magnitude in arcseconds. [3"] -s <n> raster size. [5] -S <n> seed value. [0] -v verbose outputAny arguments specified after -- are passed to 'allocate'. ie:
./ofc.sh -v -m3 -s7 -- --useskygrid --bsignorespect $e/echGUI/examples/example1.s2oTypical output:
354 355 355 353 355 355 354 355 353* 353 357 357 359 360 354 357* 357 359 356 354 357* 356 356 356 357 Optimal FIELD CENTRE +00 57 06.65 -19 11 00.84 This is an offset of 0,3 arcseconds from the current field centre.The numbers denote how many spines are allocated at each point in the matrix. If a * follows the number it means that it is ignored as not enough guide stars (min: 3) were allocated.
Specifying -v will show how many guide stars are allocated at each point in the matrix:
./ofc.sh -v -m 480 -s 3 -- $e/echGUI/examples/example1.s2o 208:4 250:3 199:3 250:3 359:9 247:3 207:3 259:7 208:2*
| EFLD | Must be the first line in the file, & must have the value 1.0. |
| LABEL | A string describing the target field name. |
| UTDATE | The UT date of the observation. (yyyy mm dd[.dd]) |
| CENTRE | The field centre in RA/Dec. (hh mm ss.ss ±dd mm ss.s) |
| EQUINOX | Coordinate equinox. Default is J2000.0 |
| AGMODE | Autoguiding mode. Must be one of: "Point-&-Stare", "Beam-Switching" or "Cross-Beam-Switching" Default is Beam-Switching. |
| OBS_DURATION | Estimated observation duration in seconds. Default is 3600. |
| POS_ANGLE | Position angle of field plate. Default is 0. |
| WAVELENGTH | Observation wavelength in nanometres. Default is 1800. |
| HA_RANGE | The hour angle range that the observation must be valid for. For example, a value of 3 indicates that the observation must be valid from 3 hours before it crosses the local meridian, until 3 hours after. |
| NUM_NIGHTS | Number of nights (starting from UTDATE) that observation must be valid for. |
| NAME | Name of object. Cannot contain whitespace or pipe characters - ie. | |
| RA | Right Ascension (hh mm ss.ss) |
| DEC | Declination (±dd mm ss.s) |
| TYPE | Type of object - see Object Types table below. |
| PRIORITY | Target priority in range 1 .. 9. 1 is the highest priority. Objects with a priority value of 0 are disabled. (ie. stored in the .s2o file but never allocated by the allocate program or visible/accessible from the GUI. |
| MAGNITUDE | Object apparent magnitude in R. (mm.nn) This field may be set to an asterisk if it is not required - ie. sky targets. |
| PROGRAMID | Integer value which uniquely identifies a specific project. (Not used) This field may be set to an asterisk if it is not required. |
| COMMENT | Any remaining text up to the end of the line. (May not contain pipe characters - ie. |) Proper-motion values can be specified by embedding a special tag in the comment field of the form: (Name=value) or (Name)=value The following names are interpreted by the allocation software: PM-RA (value is in arcseconds/year) PM-DEC (value is in arcseconds/year) |
| F | Fiducial (guide) star. This indicates a guide target that can be allocated to a guide spine. (Guide spines are fed to Echidna's autoguiding camera.) |
| P | Program Object. This indicates a target that can be allocated to any science spine. (Science spines are connected to one of the spectrographs.) |
| S | Sky target. This indicates a position that can be used for sky-subtraction. These targets are usually allocated to any remaining unallocated science spines. |
| K | Coordinate calibration star. Several of these targets will be imaged by the sky camera during field acquisition to optimise the initial telescope pointing. Coordinate calibration stars are not allocated to spines. |
| C | Calibration (or Flux Standard) Star. A special type of sky target that is utilised in sky-subtraction calculations. Calibration stars have a previously well measured spectrum where the absolute flux at each wavelength is known. The difference between its known flux and the observed flux allows the data-reduction software to correct all the spectra for the response function of the instrument, atmosphere etc. |
| Z | Atmospheric standard star. A special type of sky target that is utilised in sky-subtraction calculations. An atmospheric standard star is a star that is used to calibrate out various absorption features in the Earth's atmosphere. Ideally these are flat featureless stars so that the data-reduction software can correct for absorption. The absolute flux of the star does not need to be known. |
EFLD 1.0 # Comments can begin with * or # # Generated on Tue Oct 28 10:18:25 2003 # Mandatory header fields: LABEL, UTDATE & CENTRE LABEL A simulated random field. UTDATE 2003 10 28.01 CENTRE 12 34 56.78 -12 34 56.7 EQUINOX J2000.0 AGMODE Beam-Switching OBS_DURATION 3600 POS_ANGLE 0 WAVELENGTH 1800 RandomObject01 12 34 49.23 -12 35 04.4 P 1 15.8 1 Random Object 1 RandomObject02 12 34 50.03 -12 34 55.2 P 1 17.0 0 Random Object 2 RandomObject03 12 34 41.02 -12 34 54.5 P 3 17.9 0 PM-RA=-4.24618) (PM-DEC=1.91734) Random Object 3 GuideObject01 12 34 29.43 -12 35 13.4 F 1 16.3 * Random Guide Object 1 GuideObject02 12 34 36.17 -12 35 53.1 F 1 17.1 * Random Guide Object 2 SkyTarget01 12 34 46.87 -12 34 33.1 S 1 * 1 Sky target 1 SkyTarget02 12 34 26.77 -12 34 43.6 S 1 * 1 Sky target 2
Most of the common GUI preferences can be changed via various simple operations. (ie. picking colors using a simple color dialog) However, there are a number of less common options that can only be set in the preferences file. Options that are set in the preferences file take effect when the spineToObject.tcl script is restarted.
Care should be taken when editing the preferences file as the wrong syntax or an illegal value can result in undefined behaviour.
The spineToObject.tcl script searches for a ~/.fmosPrefs preferences file when it starts up. You can override this filename with the $FMOS_PREFS environment variable.
You can save the current preferences at any time using Options ⇒ Save Preferences.
set $parameter {$value}
These preferences are briefly described here.
| Parameter | Default Value | Description |
| main::allocateCommand | ./bin/$(uname -s)/allocate | The location of the allocate program to utilise. |
| main::allocateArgs | --check -t | Command-line arguments to pass to the allocate program upon every invocation. |
| main::browserCommand | htmlview | Browser to invoke to display on-line help.
Could be any of: htmlview, mozilla, netscape, firefox, dillo, rxvt -e w3m, rxvt -e links, xterm -e lynx, /Applications/Safari.app/Contents/MacOS/Safari, etc. |
| main::printCommand | ghostview | Unix/Linux users will find it useful to set this parameter to "ghostview" to gain a print-preview feature. Alternatively, a command akin to "lpr -Pcolourtek" is also valid and will send the postscript file directly to the specified (or default) printer.
Could be any of: ghostview, /Applications/Preview.app/Contents/MacOS/Preview, gs, evince, etc. |
| main::saveFLDCommand | ./bin/$(uname -s)/s2o2fld | The location of the binary to convert .s2o to .fld files. |
| main::allocHelpFile | ./doc/echidnaUserManual.html | Location of on-line help file. |
| main::tmpFilePrefix | /tmp/ech | Prefix to use for temporary files. |
| main::bAllocateGuideOnCalcPosAngle | 0 | If this option is set and a position angle is successfully found during a Calculate Optimal Position Angle operation an allocate guide objects operation will automatically be performed as well. |
| main::initialDir | . | The initial directory to search for files to open. |
| main::instrFile | ./config/echidna.instr | The instrument description file to use. |
| main::balloonFont | helvetica 10 | Font to use for balloon help popups. (Note: there is a separate FieldPlate::balloonFont option.) |
| FieldInfo::bgColor | darkgray | The background color of the entry fields in the Field Information window. |
| Echidna::maxFieldWidth | 12 | Default width of value fields in Spine/Object Details window. |
| Echidna::fieldPlateScale | 1.0 | The initial size of the field plate (at normal zoom level). A scale of 1.0 means that the representation is very close to actual size. |
| Echidna::multiButtonColor1 | #b03060 | Color of multibuttons when all items selected for display. |
| Echidna::multiButtonColor2 | green | Color of multibuttons when allocated items selected for display. |
| Echidna::multiButtonColor3 | orange | Color of multibuttons when unallocated items selected for display. |
| Echidna::bMultibuttonhelp | 1 | Show ballon help over multibuttons. |
| FieldPlate::font | fixed 10 | Font to use for fibre numbers, object names, etc. |
| FieldPlate::unallocatedSpineColor | green | Color of unallocated active science spines. |
| FieldPlate::unallocatedGuideSpineColor | purple | Color of unallocated active guide spines. |
| FieldPlate::allocatedSpineColor | blue | Color of allocated science spines. |
| FieldPlate::inactiveSpineColor | darkGreen | Color of inactive spines. |
| FieldPlate::allocatedObjectColor | orange | Color of allocated objects. |
| FieldPlate::unallocatedObjectColor | red | Color of unallocated objects. |
| FieldPlate::guideStarColor | skyblue2 | Color of guide stars. |
| FieldPlate::calibrationStarColor | cyan3 | Color of calibration stars. |
| FieldPlate::atmosphericStarColor | cornflowerblue | Color of atmospheric standard stars. |
| FieldPlate::skyTargetColor | deepskyblue3 | Color of sky targets. |
| FieldPlate::hiliteSpineColor | yellow | Color of the circle to draw around highlighted spines. |
| FieldPlate::hiliteObjectColor | magenta | Color of the circle to draw around highlighted objects. |
| FieldPlate::posAngleColor | yellow | Color of the position angle indicator. |
| FieldPlate::balloonFont | Helvetica -12 | Font to use for balloon popups in the field plate window. (Note: there is a separate main::balloonFont option for other windows.) |
| FieldPlate::balloonFG | black | Text color of balloon popups. |
| FieldPlate::balloonBG | #C0C080 | Background color of balloon popups. |
| FieldPlate::faintMag | 17 | Faintest star that should have it's magnitude emphasised with a larger "dot". |
| FieldPlate::brightMag | 12 | Brightest star that should have it's magnitude emphasised with a larger "dot".
Note: to disable magnitude emphasis, set faintMag & brightMag to the same value. |
This software should run on any Linux or Mac OS X ≥ 10.4 (PowerPC or Intel) operating system. You will need:
gzip -dc echAlloc-YYYYMMDD.tar.gz | tar xvf -
spineToObject.tcland selecting Options ⇒ Save Preferences.
$Id: echidnaUserManual.html,v 1.28 2010/09/26 04:16:37 ss Exp $