Differences between revisions 3 and 5 (spanning 2 versions)
Revision 3 as of 2016-02-05 10:41:18
Size: 1202
Editor: EricPalmer
Comment:
Revision 5 as of 2016-02-05 10:48:17
Size: 1283
Editor: EricPalmer
Comment:
Deletions are marked like this. Additions are marked like this.
Line 15: Line 15:
== Input Files == == Requires -- Adjusting shape file ==
Line 17: Line 17:

== Requires -- Adjusting landmarks ==
Line 19: Line 21:
 * [[LMKFILES]]
Line 21: Line 24:
== Output Files == == Output ==
 * standard out
 * <shapefile>.TXT
Line 24: Line 29:
 * <shapefile>.TXT
Line 27: Line 31:
When shifting a shape file, you give it only the root name. You do not put in the fullpath or .TXT When shifting a shape file, only give it the root name. You do not put in the fullpath or .TXT
Line 29: Line 33:
== Exported File Information == == Example input/output ==

shift

Compiled by EP

Description

Shift will adjust a entire shape file into by a deltaX, deltaY and deltaZ. It is typically used to adjust the center of figure to center of mass.

It can also deal with the fact that sometimes a shape model's center of figure can drift off of the 0,0,0 coordinate center, i.e. the middle of the asteroid is no longer at the origin of the system. The typical way to do this is to run shape_info and use its Center of Figure offsets as the input for shift.

Requires -- Adjusting shape file

  • <shapefile>.TXT

Requires -- Adjusting landmarks

Output

When shifting a shape file, only give it the root name. You do not put in the fullpath or .TXT

Example input/output

 Enter C0(i), i=1,3
 0.66624D-03   -0.24253D-03   -0.13943D-02
 Shape shift? (y/n)
TESTSHAPE
 Shift maplets? (y/n)
y

 GEOMETRY
20
1
n
n

The last 5 lines are designed to copy and paste to update the rest of the system (updated the SCOBJ and C_vector. You need to do this if you update the MAPLET positions.

 GEOMETRY
20
1
n
n

shift (last edited 2017-07-05 18:15:03 by LeilahMcCarthy)