Isis 2 Documentation
Written by Ben Atkin June 15, 2005 --------------------
The randlsq parameter format is the format understood by the perl script, runrandlsq. runrandlsq reads it in, generates an old-style parameter file that the Fortran program, randlsq, can understand, and runs randlsq.
Name | Type | Description |
target | string | The name of the target body |
targdef | string | The location of the target definition file |
longitude_type | string | Positive Longitude Direction. east, west, or tdef (look in target definition file) |
use_planet_angles | string | yes/no. If yes, four lines will be read per Picture record in the Pole, Point, and Picture file. Currently only yes for Moon (due to irregular rotation rate). |
solution_type | string | general, ellipsoid, or focal_length |
solve_for | list of strings | Variables to solve for:
- Any combination of: latitude, longitude, radius, alpha_angle, delta_angle, kappa_angle, right_ascension, declination, and rotation_rate. - In ellipsoidal solutions, axis_a, axis_b, axis_c, and long_offset are also options. - For focal length solutions, there is a focal_length option. |
fix_latitude | list of Point ID's | Points where the latitude will be fixed during the solution |
fix_longitude | list of Point ID's | Points where the longitude will be fixed during the solution |
fix_radius | list of Point ID's | Points where the radius will be fixed during the solution |
fix_alpha | list of FSC's | Images where the alpha angle will be fixed during the solution |
fix_delta | list of FSC's | Images where the delta angle will be fixed during the solution |
fix_kappa | list of FSC's | Images where the kappa angle will be fixed during the solution |
solution_method | string | matrix_inversion or conjugate_gradient Matrix inversion is the standard method, that provides full uncertainty information. The conjugate gradient method is faster, but uncertainty data is not available. |
iterations | integer | Maxiumum number of iterations (solution will end sooner if uncertainty information shows that the solution converged) |
conjugate_gradient_iterations | integer | Number of conjugate gradient iterations |
# This is a comment
Keys and values (except for filenames) are not case sensitive.
Key = Value
A special type of value is a list. Valid lists:
FIX_LATITUDE = {} FIX_LONGITUDE = { 1001 } FIX_LATITUDE = { A0004, A0005 } FIX_LONGITUDE = { A0004, A0005 }
Note: The opening curly brace must appear on the same line as the key and equals sign.
# randlsq parameter file # Target body target = Titan # Target definition targdef = /targets/titan.def.1 # Longitude type (east, west, or tdef) longitude_type = tdef # Use planet angles? (yes/no) use_planet_angles = no # Type of solution (general, ellipsoid, or focal_length) solution_type = general # Variables to solve for. # - Any combination of: latitude, longitude, radius, alpha_angle, # delta_angle, kappa_angle, right_ascension, declination, and # rotation_rate. # - In ellipsoidal solutions, axis_a, axis_b, axis_c, and long_offset # are also options. # - For focal length solutions, there is a focal_length option. solve_for = (latitude, longitude, alpha_angle, delta_angle, kappa_angle) # Lists are comma-separated # Points to fix (point id's) fix_latitude = { } fix_longitude = { } # Images to fix (fsc's) fix_alpha = { } fix_delta = { } fix_kappa = { } # Solution method (matrix_inversion or conjugate_gradient) solution_method = matrix_inversion # Compute uncertainties? (only available with matrix_inversion) compute_uncertainties = yes # Number of iterations iterations = 10 conjugate_gradient_iterations = 1834
Contact us online at the Isis Support Center: http://isisdist.wr.usgs.gov