POD documentation for
- Takes SIMS stage coordinates and makes an .svg file.
] [filename x1 y1 x2 y2 x3 y3
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
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
Runs in verbose mode (this outputs a copy of the .svg file to screen).
Shows execution options.
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).
- red ff0000
- lime 00ff00
- blue 0000ff
- yellow ffff00
- cyan 00ffff
- fuchsia ff00ff
- maroon 800000
- green 008000
- navy 000080
- olive 808000
- teal 008080
- purple 800080
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.
- Interactive Dialog
This prompts the user with what file name to use, checks if there is an
existing file, and prompts the user again if there is. After this,
the program prompts the user to enter in the data and allows the user
to go back and change any errors.
- Generate .svg file
This generates a .svg file. The file is designed to be read by
Inkscape 0.46 (the newest version as of writing), although other
programs, and versions of Inkscape may compatible. It sets up a grid
(each line is 20 microns wide, with the centers separated by 1 mm).
- Save New .svg File
This prints out the new .svg file with everything in the correct order.
No known bugs.
Miles McCammon, <firstname.lastname@example.org
- 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
Source code for this version (11/6/08, 20:35) can be downloaded here