AstroGrav Help /Tutorial /Exercise 4 - Using Other Types of WindowsVersion 5.2.1
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.
- If you don't already have AstroGrav running, double-click on the AstroGrav application icon () to start it running.
- When the Open Simulation file chooser dialog is displayed, navigate to and open the Tutorial.ast file.
- 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.
- Click on the Tutorial: Table window to bring it to the front.
- 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).
- 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.
- 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.
- Notice how the Name column has a darker background to indicate that the rows are sorted by name.
- Click on the Radius column header, and notice how the rows are now sorted by radius.
- Click on the Radius column header a second time, and notice how the sort order has now changed from ascending to descending.
- Click on the Radius column header a third time, and notice how the sort order has now changed back to ascending.
- 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.
- Click on the Column Selector () 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.
- 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.
- Experiment with selecting and de-selecting other items on the column selection menu to see what effect they have.
- 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.
- 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.
- Click on the Tutorial: Structure window to bring it to the front.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.]
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
Exercises |Previous |Next
Copyright © 2005-2024, AstroGrav Astronomy Software