POD documentation for startdialog.pl


  1. N
  2. S
  3. D
  4. O
  5. A
  6. C
  7. S
  8. S
  9. K
  10. A
  11. C
  12. S


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.


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).


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.


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


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"