Differences between revisions 5 and 6
Revision 5 as of 2016-02-10 20:39:49
Size: 2946
Editor: BMittan
Comment:
Revision 6 as of 2016-07-24 06:48:30
Size: 2862
Editor: BMittan
Comment:
Deletions are marked like this. Additions are marked like this.
Line 7: Line 7:
[[make_scriptF]] is a generic script maker for batch lithos processing tasks. You specify the set of landmarks to process in [[make_script.in]] and the sequence of commands to process in [[make_scriptF.seed]]. [[make_scriptF]] is a generic script maker for batch lithos processing tasks. You specify the set of landmarks to process in [[make_script.in]] and the sequence of commands to process in '''make_scriptF.seed'''.
Line 77: Line 77:
 (./) Do we need a section that discusses how the processing commands get in here?

make_scriptF.seed

Description

This seed file is used by make_scriptF, the script-maker for batch lithos processing. make_scriptR.seed contains the lithos commands for processing each landmark.

make_scriptF is a generic script maker for batch lithos processing tasks. You specify the set of landmarks to process in make_script.in and the sequence of commands to process in make_scriptF.seed.

make_scriptF generates the .INN files and run scripts to batch process the landmarks, and generates .OOT files and saves display files during processing for user inspection.

  • /!\ You should test the command sequence in lithos before running the script generated by make_scriptF.

Writing the make_scriptF.seed

lithos expects a sequence of start and end commands which must be contained in the seed file before and after the processing commands.

Here is a sample make_scriptF.seed file. The required start and end command sequences are explained below.

# Seed file to attach map to overlapping maps
#start commands
n                                                 <- don't check for more images
n                                                 <- don't include a single image
#processing commands
o
RECENT
y
1
o
RECENT
n
3
y
1, 3, 5 w
i
RECENT
n
n
v
1
u
1
o
RECENT
n
1
#end command
q                                                 <- quit
#end-of-file identifier
END                                               <- end-of-file

Start Commands

The .INN file starts with the command i: input landmark, and the landmark name. lithos then asks you whether to check for more images. The following samples show the prompts and responses for both 'y' and 'n' responses to this prompt:

 Check for more images? y[n]
n
 Include a single image? y[n]
n

 Check for more images? y[n]
y

 Enter fractional width (0=center).
.5

 Reject invisibles? y[n]
n

When you create the make_scriptF.seed file, you must start with a sequence that deals with this set of options. In the sample, the Start Commands lines are annotated to indicate these responses.

End Command

make_scriptF expects you to quit lithos on completion of each landmark. The make_scriptF.seed file must contain the quit command q on the second-to-last-line.

End-Of-File Identifier

make_scriptF expects the seed file to end with the end-of-file identifier, END. Any commands following this will not be appended to the .INN file.

Comments

Use # at the beginning of any comment line you want to include. make_scriptF does not append these to the .INN file.


(Compiled by DL)

CategoryFiles CategorySupportFiles

make_scriptF.seed (last edited 2016-07-24 06:48:30 by BMittan)