AstroGrav iconAstroGrav Help /Tutorial /Exercise 4 - Using Other Types of WindowsVersion 5.1

AstroGrav icon    Exercise 4 - Using Other Types of Windows

This exercise teaches you how to use other types of windows, and should take about 15 minutes to complete.

Opening the Tutorial Simulation

If you already have the Tutorial simulation open, choose the File / Revert to Saved menu item, which will return the simulation to the same state that it was in when you first opened it. Otherwise, go through the following steps to open it.

  1. If you don't already have AstroGrav running, double-click on the AstroGrav application icon (AstroGrav icon) to start it running.
  2. When the Open Simulation file chooser dialog is displayed, navigate to and open the Tutorial.ast file.
  3. The Tutorial simulation will then open, and you will see the simulation's three windows displayed on your screen.

Using Table Windows

Table windows let you view a simulation in the form of a table, with each object's data occupying one row of the table. Go through the following steps to learn how to use a table window.

  1. Click on the Tutorial: Table window to bring it to the front.
  2. Run the mouse pointer along the column headers, and read the column details that pop up to tell you what each column shows. You may recognize these column headers as being identical to the Physical Elements and Orbital Elements on an object window (see below).
  3. Run the mouse pointer down the row numbers, and read the row details that pop up to tell you the name of the object in each row. This is useful in cases where you have horizontally scrolled a table so that the 'Name' column is no longer visible.
  4. Run the mouse pointer around the table cells, and notice how cell details pop up to show you more accurate information about the cell contents.
  5. Notice how the Name column has a darker background to indicate that the rows are sorted by name.
  6. Click on the Radius column header, and notice how the rows are now sorted by radius.
  7. Click on the Radius column header a second time, and notice how the sort order has now changed from ascending to descending.
  8. Click on the Radius column header a third time, and notice how the sort order has now changed back to ascending.
  9. Experiment with clicking on other column headers to see what effect it has. You can sort the rows any way you want simply by clicking on the appropriate column header.
  10. Click on the Column Selector ('Column Selector' icon) icon in the top-left corner of the table, look at the six column selection items (Physical Elements, Absolute Elements, Structure Elements, Rectangular Elements, Orbital Elements, Other Elements) on the column selection menu, and notice that two of them (Physical Elements and Orbital Elements) are selected to indicate that the physical elements and orbital elements are currently displayed.
  11. Select the Structure Elements item, and notice how the structure elements have now appeared between the physical elements and the orbital elements. A horizontal scroll bar has also appeared that you can move back and forth in order to see all the information.
  12. Experiment with selecting and de-selecting other items on the column selection menu to see what effect they have.
  13. Click on some of the cells one at a time, and notice how each time a row highlights to indicate that you have selected an object. You will need to select an object if you want to view or edit its details.
  14. Finally, click on some of the cells one at a time while holding down the Shift or Control keys (Shift or Command keys on a Mac), and notice how objects are selected and deselected in the same way as in structure windows. You can also use the Edit / Select All menu item to select all of the objects, and the Edit / Deselect All menu item to deselect all of the objects.

Using Structure Windows

Structure windows let you view a simulation in the form of a tree showing the hierarchical structure of the system. Go through the following steps to learn how to use a structure window.

  1. Click on the Tutorial: Structure window to bring it to the front.
  2. Notice how this window displays the Sun on the top row, and each of the nine planets on the following rows. The number displayed in brackets to the right of some of the object names shows the number of 'children' that the object has.
  3. Experiment with clicking on the 'expand' and 'collapse' icons to the left of the objects with 'children', to see how you can display as much or as little of the object hierarchy as you desire.
  4. Click on the Earth's name, and notice how it highlights to indicate that you have selected the Earth. You need to do this in order to view the Earth's details in the next section.
  5. Click on the Saturn's name while holding down the Shift key, and notice how the block of objects between the Earth and Saturn (inclusive) are now selected. Clicking on an object while holding down the Shift key is used to select and deselect entire blocks of objects. You may need to select multiple objects in order to copy, delete, or merge them.
  6. Click on several objects in turn while holding down the Control key (Command key on a Mac), and notice how deselected objects become selected and selected objects become deselected.
  7. Choose the Edit / Select All menu item, and notice how all of the objects are now selected. Then choose the Edit / Deselect All menu item, and notice how all of the objects are now deselected.
  8. Finally, experiment with combinations of the previous steps until you are able to quickly select and deselect whatever combination of objects you want.

Using Object Windows

Object windows let you view a simulation by showing all the details of a single object, including its relationship with the other objects in the system. Go through the following steps to learn how to use an object window.

  1. Double-click on the Earth in the frontmost window, and check that this has opened a new window titled Tutorial: Earth. This window has a main area showing all of the Earth's data elements, a tree showing the Earth's family at the top right, and a tree showing what the Earth is orbiting at the bottom right. [If the frontmost window was a view window, there will also be a set of celestial coordinate boxes between the main area and the two trees.]
  2. Look at the top-left box in the main area. This shows the Earth's Physical Elements, which are the physical properties that do not vary with the passage of time.
  3. Look at the middle-left box in the main area. This shows the Earth's Absolute Elements, which are the position and velocity components relative to the origin of the coordinate frame.
  4. Look at the bottom-left box in the main area. This shows the Earth's Orbital Elements, which describe the size, shape, and orientation of the Earth's orbit, together with the position of the Earth on its orbit.
  5. Look at the top-right box in the main area. This shows the Earth's Structure Elements, which are the properties of the Earth relative to its parent.
  6. Look at the middle-right box in the main area. This shows the Earth's Rectangular Elements, which are the position and velocity components relative to the Earth's parent.
  7. Look at the bottom-right box in the main area. This shows the Earth's Other Elements, which are miscellaneous values that each provide a possible alternative to one of the Earth's orbital elements.

You can find much more information when you need to, in the section on Data Elements.

Next: Editing Existing Objects

You've now completed Exercise 4, and are ready to move on to Exercise 5, which teaches you how to edit existing objects.


AstroGrav iconExercises |Previous |Next

Valid HTML 4.01!Valid CSS!