Tutorial 03 Sets Planes Queries
Tutorial 03 Sets Planes Queries
3-1
This tutorial is a continuation of the Quick Start tutorial and demonstrates additional important program features: User-defined planes Sets Queries
If you have not already done so, run Dips by double-clicking on the Dips icon in your installation folder. Or from the Start menu, select Programs Rocscience Dips 6.0 Dips. If the Dips application window is not already maximized, maximize it now, so that the full screen is available for viewing the data.
Example.dip File
We will start with the Example.dips6 file.
Dips v.6.0
Tutorial Manual
3-2
You should see the stereonet plot view shown in the following figure. If the example file has been previously opened and saved, the screen may show a different view or plot, since Dips saves the most recent view state when a file is saved. If you do not see the plot below, then use the sidebar plot options to view pole vectors and contours on the stereonet.
Adding a Plane
Lets first add a plane to the stereonet. The Add Plane option allows you to graphically add a pole / plane to a stereonet plot. Select Add Plane from the toolbar or the Planes menu.
Dips v.6.0
Tutorial Manual
3-3
3. When the plane / pole is at a desired orientation, click the left mouse button inside the stereonet. The Add Plane dialog will appear, allowing you to modify the graphically entered orientation (if necessary), and also provide ID, labeling (optional) and visibility information. For this example, enter ID = 1, Label = slope face, and leave the Visibility checkboxes at their default selections. Select OK. The plane / pole will be displayed on the plot, according to the visibility settings chosen, as shown in the figure below.
If the graphically entered orientation is not correct, then simply enter the correct values in the Add Plane dialog.
The visibility settings that you choose in the Add Plane dialog can be modified at any later time in the Edit Planes dialog.
Planes created with the Add Plane option in Dips are referred to as User Planes or Added Planes, to distinguish them from Mean Planes calculated from Sets. (Sets and mean planes are discussed in the next section).
Dips v.6.0
Tutorial Manual
3-4
Creating Sets
A Set as defined in Dips is a grouping of poles created with one of the following options in the Set menu: Add Set Window Add Set Freehand Add Set Circular Sets from Cluster Analysis
Sets are created for the purpose of obtaining mean plane orientations and set statistics of data clusters. We will first demonstrate the Add Set Window option. The Add Set Window option allows you to draw windows around data clusters on the stereonet. The windows created with Add Set Window are curvilinear four-sided windows, defined by two trend values and two plunge values at opposite corners. Lets create our first Set with the small data cluster at the right side of the stereonet.
Dips v.6.0
Tutorial Manual
3-5
4. Dont worry if the window coordinates are not exactly those shown above, as long as the window encloses the desired data. However, you may edit the coordinates at this time, if you wish. 5. We will accept the default Set ID and Visibility settings, so just select OK, and the Set will be created as shown below.
Dips v.6.0
Tutorial Manual
3-6
For this example, the data tip for the set window should display: Set ID 1, Entries 8, Poles 10. The 8 entries refers to the number of rows of the grid within the Set. Since we have a Quantity Column in this file, each row can represent multiple data units (poles). In this case, the 8 rows actually represent 10 poles.
Set Column
A Set Column is automatically added to the Grid when the FIRST Set is created.
When the FIRST Set is created, a Set Column is automatically added to the Grid. The Set Column records the Set ID of data belonging to Sets. Lets verify this. Switch to the Grid View using the tabs at the lower left of the view. Notice the Set Column, which appears AFTER the Traverse Column. Notice the data in the Set Column which is flagged with the Set ID = 1. These are the poles within the Set Window just created. Notice that 8 rows have Set ID = 1. This corresponds to the 8 entries listed in the data tip. The 10 poles is due to the fact that one pole (row 36) has Quantity = 3 (all others in the set have Quantity = 1).
Now return to the stereonet view, and we will create another Set, this time with a window which wraps around the perimeter of the stereonet.
Dips v.6.0
Tutorial Manual
3-7
A wrapped Set Window in Dips automatically calculates the correct mean vector for Sets which cross the equator.
This useful feature of Dips automatically calculates the correct mean vector for Sets with poles plotting on opposite sides of the equator, since A MEAN ORIENTATION CALCULATED FROM THE LOWER HEMISPHERE ALONE WILL BE INCORRECT!! The poles within a wrapped Set window that plot on the opposite side of the stereonet, are incorporated into the vector addition AS NEGATIVE poles (i.e. plunge = plunge , trend = trend + 180), so that the mean will be correctly calculated. Lets create a second Set using a wrapped Set Window.
Dips v.6.0
Tutorial Manual
3-8
5. Dont worry if the window coordinates are not exactly those shown above, as long as the window encloses the desired data. However, you may enter the above coordinates if you wish. 6. We will accept the default Set ID (2 in this case) and Visibility settings, so just select OK, and the Set will be created. 7. If you zoomed or panned the view in step 3, press F2 to reset the view which should look as follows.
The Set Window and (unweighted) mean pole / plane are displayed. If you hover the mouse over Set 2 the data tip should indicate 22 poles and 15 entries (if you selected all of the poles on both sides of the stereonet). Finally, note that the Set Column in the Grid View is updated to record the data in both Sets 1 and 2. Note that data which does NOT currently belong to any Set has a BLANK entry in the Set Column.
Dips v.6.0
Tutorial Manual
3-9
Now create a third Set Window around the remaining data concentration on the Contour Plot. (A Set Window with corners at approximately Trend / Plunge = 190 / 40 and Trend / Plunge = 235 / 3 will do the job).
Set Information
Lets look at the Info Viewer option, which provides a summary of your Dips file as well as a listing of all Added Planes (Add Plane option), all Set information and other data.
As you scroll through the Info Viewer, you will see: your Dips file setup information
Dips v.6.0
Tutorial Manual
3-10
Global mean orientation (i.e. the mean vector of all poles in the file) and global best fit statistics a list of Added (User) Planes, if any exist (you should see the single plane which we added earlier).
If Sets have been created, you will then see: 1. A listing of Unweighted and Weighted MEAN plane orientations for each Set, in the format corresponding to the current Reporting Convention i.e. Pole Vector (Trend / Plunge) or Plane Vector format (Dip/DipDirection or Strike/Dip). 2. A listing of Set Statistics (Fisher coefficient, and Confidence and Variability Limits at one, two and three standard deviations). The Info Viewer listing can be printed, copied to the clipboard, etc. The Info Viewer behaves like any other view in Dips (i.e. it can be tiled, minimized, maximized, etc.), and is automatically updated whenever new information is added to the current document (e.g. when a new Set is created). When you are finished examining the Info Viewer, close the view by selecting the button in the upper right corner.
Dips v.6.0
Tutorial Manual
3-11
Only planes / poles toggled for Visibility in the Edit Planes and Edit Sets dialogs are displayed on the Major Planes Plot. In the above figure we have toggled off the display of Set Windows. This is done with the Object Visibility > Sets checkbox in the sidebar plot options.
Dips v.6.0
Tutorial Manual
3-12
For our current example, we have one ADDED plane (Added Planes are always listed first in the legend), followed by the MEAN planes for the three Sets.
Plane Visibility
Regarding plane visibility it is worth noting: In the sidebar plot options, the Planes > Major Planes option can be used to show / hide all major planes (added and/or mean planes). This can be customized per view, if you have multiple stereonet views open. In the Edit Planes and Edit Sets dialogs, the visibility settings can be customized for individual planes. These settings are global and apply to all views in the current file, if you have multiple stereonet views open.
Plane Colours
The default colours used for planes in Dips are: Green for all ADDED (User) planes Red for all MEAN planes
You can customize ADDED plane colours in the Edit Planes dialog, and MEAN plane colours in the Edit Sets dialog. This is left as an optional exercise. Note that unlike most other display options in Dips, changes to the Plane Colours affect ALL views for the current document, and are NOT customizable on a per view basis.
Dips v.6.0
Tutorial Manual
3-13
Query Data
We will now demonstrate how to quickly and easily create subset files from a Dips file using the Query Data option.
Query Data allows you to create any sort of logical expression to query the information in any column, or any combination of columns, of your Dips file. Lets first create a simple query which searches for all JOINTS with a ROUGH surface, i.e.: TYPE == joint && SURFACE Includes rough
Query Example 1
The first step in creating a query, is to create an Expression. As you can see at the top of the Query Data dialog, an Expression consists of Data, Operator and Operand. 1. In the Query Data dialog, click in the Data box at the left of the Expression area, and select TYPE from the drop-down list. 2. Click in the Operand box, and select joint from the drop-down list.
Dips v.6.0
Tutorial Manual
3-14
3. The Expression area should now display TYPE == joint. To create the query, use the buttons at the left of the Create Query area to enter the desired expression(s) in the area to the right of the buttons. 4. Select the Expression button (or the Add button). This will enter the expression TYPE == joint in the Create Query area. 5. Select the AND button to enter the logical && operator. 6. Now create the Expression SURFACE Includes rough. 7. Select the Expression button (or the Add button). 8. Select OK. A new Dips file should immediately be generated, and a new Grid view will display the selected data. This query should create a new file with 13 rows. NOTE: All entries in the TYPE column are joint. All entries in the SURFACE column include the string rough sl.rough, rough and v.rough.
This example also demonstrates the use of the Includes operator, which finds all entries including the substring entered as Operand in the Expression.
Dips v.6.0
Tutorial Manual
3-15
However, note that the Set Column in the new file merely preserves the Set ID information. ALL OTHER SET INFORMATION (i.e. MEAN PLANES, WINDOW LIMITS, SET STATISTICS etc.) IS NOT TRANSFERRED TO THE NEW FILE. SETS, AS DEFINED IN Dips, DO NOT EXIST IN THE NEW FILE CREATED AFTER A QUERY.
Query Example 2
If you followed through Query Example 1, then first click in any view of the original example file, so that you can create another query using this file. As a final step in this tutorial, we will demonstrate how to create a new file from a Set, using Query Data. Since the Set Column records the Set ID of data belonging to Sets, this is simply a matter of querying the Set Column for the desired ID(s).
Dips v.6.0
Tutorial Manual
3-16
2. Select Delete All Sets from the Sets menu to delete all 3 current sets. 3. Select Add Set Freehand from the toolbar or the Sets menu, and draw a freehand set window around the data cluster at the right side of the stereonet (i.e. the previous Set 1 data). 4. Now to recreate Set 2 (the wrapped data cluster) with the Add Set Freehand option, you have to do the following: a. Select Add Set Freehand and draw a window around the data cluster at the upper left of the stereonet. b. Select Add Set Freehand and draw a window around the 3 poles on the opposite side at the lower right of the stereonet. c. In the Add Set Window dialog, change the Set ID = 2, and make sure the Wrapped data checkbox is selected, as shown below. Select OK.
Dips v.6.0
Tutorial Manual
3-17
d. This will ensure that the 2 freehand set windows which define Set 2 are treated as a wrapped set, so that the mean plane and set statistics are correctly calculated. 5. Select Add Set Freehand and re-create Set 3 by drawing a window around the data cluster at the lower left of the stereonet. 6. The screen should look similar to the following figure.
7. Now look at the Info Viewer and check the mean plane orientations. They should be exactly the same as the mean orientations determined from the curvilinear 4-sided windows created earlier in this tutorial. If they are not, check that you have selected all of the intended poles, particularly for Set 2 the wrapped data set. The Add Set Freehand option is offered as an alternative method of creating set windows. You may find it useful for selecting irregular data clusters. For a given grouping of poles, you should get identical results using either the freehand or 4-sided set windows.
Dips v.6.0
Tutorial Manual
3-18
3. Choose the Select button in the dialog. Now use the mouse to click on the approximate centers of the 3 main data clusters on the stereonet, using the contours as a guide. You will notice a 25 degree cone is displayed as you make your selection. 4. When you are finished selecting the 3 sets, right-click and select Done or press Enter. Your screen should look as follows:
Dips v.6.0
Tutorial Manual
3-19
5. Check the Info Viewer. The mean plane orientations should be identical to the freehand and 4-sided set window results. Notice that Set 2 (the wrapped data set) is automatically determined by the cluster analysis algorithm. The set is defined by 2 windows on opposite sides of the stereonet and the mean plane is calculated assuming that the data is wrapped. This is one convenient feature of using Sets from Cluster Analysis wrapped sets are automatically accounted for and can be determined with a single mouse click. In this case the set windows determined by the cluster analysis are all simple 4-sided curvilinear windows. In general, the set windows from a cluster analysis may be stepped in order to conform to the poles in the data set. You will notice this for larger more complicated data clusters. Finally we should note that the set windows created from the Add Set Freehand option or the Sets from Cluster Analysis option CANNOT be graphically edited after they have been created. Only windows created with the Add Set Window option can be graphically edited after they are created. If you need to edit set windows from freehand or cluster analysis, you will have to delete the set window and repeat the selection process until the results are satisfactory. That concludes this Sets and Planes tutorial.
Dips v.6.0
Tutorial Manual