POD documentation for startdialog.pl


  1. Name
  2. Synopsis
  3. Description
  4. Options
  5. Arguments
  6. Colors Used
  7. Script Layout
  8. See Also
  9. Known Bugs
  10. Author
  11. Copyright and License
  12. Source Code


startdialog.pl - Takes SIMS stage coordinates and makes an .svg file.


startdialog.pl [-vb|--verbose] [filename x1 y1 x2 y2 x3 y3]
startdialog.pl filename
startdialog.pl --help produces this message
startdialog.pl --help -v produces a longer help message
startdialog.pl filename x1 y1 x2 y2 x3 y3 places the program into non-interactive (command-line) mode


This file takes three locations in CAMECA coordinates (which are distances from the origin in microns) and then generates a properly formatted SVG file for editing in Inkscape with boxes (for image registration) at the CAMECA locations. The conversion is ten microns to one pixel. The idea is that you run this program then import your images, register them, and then run fit_function.pl. After you have your images transformed correctly, you then run svg2hpl.pl which takes the locations designated and makes a .hpl file (stage analysis) which you load, making all of your points preset for running in the UCLA SIMS lab. Similarly correlator.html and svg_generator.pl together replace this file.



This program is designed to be run interactively (by double clicking on it in windows). However if you decide to give it seven (or more) arguments, it will run non-interactively. It expects first a filename, followed by x and y coordinates for all three points.

Colors Used

The following colors are assigned in the following order. The color name is in italics, while the actual color in RGB hexadecimal format is bolded. Colors are using the HTML/CSS 4.01 standard (which follows the X11 standard, with exceptions for lime, green, and purple).

Script Layout

This program currently has three parts. The first part is the interactive dialog which prompts the user to enter in data, while the second part makes the .svg file, and the third part prints it out.

See Also

perlpod, http://www.perl.org, http://www.gnu.org, http://www.w3.org/TR/REC-html40/types.html#h-6.5, http://www.inkscape.org, svg_generator.pl, correlator.html, fit_function.pl, svg2hpl.pl

Known Bugs

No known bugs.


Miles McCammon, <miles86@ucla.edu> startdialog.plx - Takes SIMS stage coordinates and makes an .svg file. Copyright © 2008 SIMS Lab, University of California Los Angeles; University of California Regents This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation version 2. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. To receive a copy of the GNU General Public License, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

Source Code

Source code for this version (11/6/08, 20:35) can be downloaded here.
N 34° 4' 9" W 118° 26' 27"