Faultkin Mobile Manual
Faultkin Mobile Manual
1 R. W. Allmendinger © 2017
FaultKin Mobile
Table of Contents
Disclaimer 4
Privacy Statement 4
Purpose 4
Data Input 5
Input By Typing 6
Input By Tapping and Dragging 6
Input Using Device Orientation 7
Inspecting Entered Data 8
Data List View 8
Datum Details View 8
Basic Info 8
More Detail View 10
Filtering Your Data 11
Basic Use 11
Editing or Adding New Data Types 12
Configuring Your Plot 13
Calculations 14
Rotate Data 14
Unfold Data 15
Fault from P & T Axes 15
Angle Between… 15
Getting Data In and Out of the Program 16
The Document Folder on the Device 16
Getting a List of Files Already Saved to the Device 16
Using iTunes File Sharing to Manage Data in the Documents Folder 17
Importing data from the Clipboard 17
Data Output via Sharing 17
Saving/Sharing the Current Image of the Plot 18
Interacting with FaultKin on the Desktop 18
2 R. W. Allmendinger © 2017
FaultKin Mobile
3 R. W. Allmendinger © 2017
FaultKin Mobile
Disclaimer
FaultKin Mobile is provided “as is” with no without any warranty, explicit or implicit. The
author will not be liable for direct, indirect, incidental, or consequential damages result-
ing from any defect in this software or this user's manual, even if he has been previously
been made aware of the defect. Furthermore, I make no systematic effort to inform all
users of either bug fixes or upgrades. Recall that your iOS device is very sensitive to
magnetic fields and the compass bearings can easily be off by 10-20°! Use this app at
your own risk. This program should not be used as a sole source of navigation data This
program may not be sold or offered as an inducement to buy any other product.
Privacy Statement
FaultKin Mobile will capture the location of the device, only with the users express con-
sent, to tag observations with the place they were collected. The program is fully usable,
though less convenient, without access to device location. Location data, if collected,
remain on the device as long as the user chooses to leave it there but is not accessible
to any other program on the device. The user may choose to send location tagged data
to a different computer or person via the iOS sharing panel (email, iCloud Drive, etc.) or
via iTunes File Sharing. FaultKin Mobile never sends any data to the author or to any
other third party, except in the case where the user elects to display the position of a da-
tum in the iOS Maps program. For iOS Maps functionality, a single latitude-longitude
pair, without any other information, is sent to the Maps program.
Purpose
FaultKin Mobile is designed to help you collect, visualize, and analyze fault slip data on
the go. It is a companion to my FaultKin program for desktop computers, but it can also
be used to measure faults on the outcrop. The app has the following features:
• Provide automatic data entry as a geologist's compass by reading the iOS device ori-
entation and converting it to strike and dip of planes and/or trend and plunge of lines.
• Provide manual data entry via either tapping and dragging on the stereonet or by typ-
ing values into text fields
• Groups of faults can be assigned different tags. You will probably want to do this
based on location or other criteria. For example, you may want to have a tag labeled
"Corral Quemado-Older" and anther "Corral Quemado-Younger".
4 R. W. Allmendinger © 2017
FaultKin Mobile
• Carry out basic calculations such as: rotations about any axis, unfolding faults around
local bedding, or measure angles between lines and between planes
• Plot P & T axes, (unweighted) moment tensor axes, P-T dihedra, fault plane solu-
tions, and contour P & T axes.
• View the plots from any orientation, not just looking straight down into the lower
hemisphere
• Stamp each entry with time date and, if enabled by the user, location. See the loca-
tion of a datum in the iOS Maps program
• Provide basic input and output of data using standard iOS conventions
• Work on both iPhones or iPads, both in portrait mode only.
The desktop version of FaultKin will soon be updated so that it can read and write
FaultKin Mobile files, which are simple tab separated text files.
Data Input
All fault slip data require, at a minimum, three sets of entries: (1) Orientation of the fault
plane; (2) orientation of striations (slickensides, striae, slickenlines, etc.); and (3) sense
of shear in current geographic coordinates. FaultKin Mobile requires that you enter
these types of data and, in addition, allows you to enter a great deal more data about
your observation. The main screen of FaultKin Mobile is structured about collection
those three sets of entries.
FaultKin Mobile enables three basic forms of data input: by typing, by tapping, or by us-
ing the device orientation. All measurements are associated with a data tag — usually
the location perhaps modified by a subset (e.g., “older,” “younger”) — which is set using
the colored button to the left of the Save button. When you tap that button, a panel will
slide up from the bottom enabling you to “tag” your observation with an existing tag or
you can define a new tag. FaultKin Mobile provides a way of defining your own cate-
gories and the color they are plotted in as described later in this document. The data tag
button changes name and color to reflect the tag type selected, providing you with a
rapid visual clue to the currently set data type. You can assign a data tag any time prior
to tapping the Save button to record a measurement. Data tags can be reassigned in
the Datum Details View described below.
In all cases, when you enter the data, it will appear interactively in magenta on the
stereonet. Your device can record the longitude and latitude of the phone at the time the
5 R. W. Allmendinger © 2017
FaultKin Mobile
data are recorded if you turn on the GPS switch at the bottom of the screen. Note that
continuous use of GPS will deplete your device’s battery charge quickly so you should
only turn this on while you are actively making a measurement and then turn it off again.
All data are stamped with time and date of measurement. The data are not recorded,
however, until you tap the Save button!
Each time you tap the Save button, FaultKin Mobile writes all of the data currently in
memory to a file in the hidden documents folder of the device called “RecoveryFile”.
Should you, heavens forbid, experience a crash or (more likely) carry out a calculation
that unexpectedly changes your data, you can open this file and read its contents back
into the program (see below) for further analysis.
Input By Typing
Tap on the Strike text box and type a value on the keyboard that appears automatically,
Then, tap on the Dip text box and enter that value, followed by the Rake (assuming you
have set Rake and not trend as default in Settings). Instead of typing, you can also tap
the microphone button on the keyboard and dictate your results. You set the sense of
slip using the horizontal slider above the strike and dip entry boxes.
Aki-Richards Convention
Thrust fault Normal fault
ke (+)
ra
e
rik dip
st
dip ra k e (–)
e
trik
s
6 R. W. Allmendinger © 2017
FaultKin Mobile
calculate the rake using the Aki-Richards convention (for brevity referred to as the “Aki
Rake” on the screen). Alternatively, if you enter the Aki Rake, the program will calculate
the traditional lower hemisphere rake and set the correct sense of slip for you.
While you are tapping and dragging, by default FaultKin Mobile changes the underlying
grid to help you make the measurement. The entire underlying stereonet grid is rotated
so that the great circles are parallel to the plane that you are drawing. This behavior can
be turned off or on in Settings.
To measure a fault slip datum, place your phone back flush against the fault surface
with the long axis parallel to the slickensides on the surface. Set the sense of slip using
the slider. When you tap Save, the entire fault-slip datum will be recorded all at once.
Although the active plane and/or line is shown interactively as you move your device
around, no numbers appear in the text boxes until the device is held stably for 1 second
without significant motion (i.e., user accelerations in any direction). Then the device will
start measuring the orientation once every tenth of a second. The value and ± that you
see in the text boxes are the average and standard deviation (1 sigma) of those multiple
measurements. If you hold the phone still against the rock for 3 seconds, you will see
the average and standard deviation of thirty measurements.
Note that it is possible to move the phone slowly enough that it doesn’t trigger the user
acceleration but the device changes orientation significantly. This will cause errors to
accrue. For that reason, the app will automatically reset the statistics and start averag-
ing over again if errors exceed 3°. If you try to save a measurement with an error
greater than 3°, FaultKin Mobile will present you with a message box alerting you to the
fact that
The uncertainty that you see does not reflect systematic errors due to, say, nearby
magnetic fields but only the average and standard deviation of those multiple measure-
ments. FaultKin Mobile does not save the calculated, random errors because their low
values could be misleading: it is quite possible to have low random errors but much
7 R. W. Allmendinger © 2017
FaultKin Mobile
larger systematic errors which are impossible to record. A good practice is to calibrate
the device magnetometer at every outcrop or before every measurement by taking it
through a couple of figure-8’s, even if not prompted by the device.
You can tap the Save button at any time all for text boxes have numbers in them. How-
ever, there may be times when you will want to freeze your measurement to inspect it
before recording it. In that case, simply touch your finger to the Stereonet and then re-
lease it; when you lift your finger from the glass, the value will be frozen (and auto orien-
tation and location collection turned off). If you like the value, you can record it and then
turn Auto back on to collect more data.
The buttons at the bottom of this view allow you to save, share, or open data files as
explained in a subsequent section. The Trash Can button will erase all entered data
from the program, but any saved data, as well as data in the RecoveryFile will remain
on the device and can be read back into the program at any time.
You return to the Stereonet View by tapping the “FaultKin” button in the upper left cor-
ner.
8 R. W. Allmendinger © 2017
FaultKin Mobile
The data tag of the measurement can also be changed on this screen by tapping the
data tag button. FaultKin Mobile will display the standard data tag picker screen where
you can select a different existing data tag or, by tapping the “New” button in the upper
left, define a new data tag for the datum. To have the data tag change “stick”, you must
tap the “Save” button in the lower left.
9 R. W. Allmendinger © 2017
FaultKin Mobile
The “GPS” button on the toolbar at the bottom of the screen when pressed will allow
you to add the current location of the device to the longitude and latitude fields in case
you forgot to turn on GPS on the Stereonet View. You must press the “Save” button for
those to be recorded.
10 R. W. Allmendinger © 2017
FaultKin Mobile
All data entered on this screen are saved immediately to the fault slip datum attributes.
You return to the Datum Details View by tapping the button of that name in the upper left
corner, and return to the Data List view by tapping the Data List Button in the upper left
corner of the Datum Details View.
11 R. W. Allmendinger © 2017
FaultKin Mobile
The buttons at the bottom of the Editing Data Types screen determine what happens to
the changes that you make. “Cancel” will return you to the previous screen with no
changes, even if you had changed some of the settings. “Done” will apply the changes
you have made to the data type that you originally tapped to get to this screen in the
12 R. W. Allmendinger © 2017
FaultKin Mobile
first place. If you are editing an existing tag, you will also see a button to delete the tag
completely. You can only delete a tag that has not been assigned to any measurements.
To combine two data tags (and their corresponding measurements) into a single type,
tap one of the two and then change its name to the other data tag. For example, let’s
say you have three measurements of the “Hualfín” data type and four which have been
tagged as “Gualfín”. You decide that you would like to combine all as “Hualfín”. Tap on
the “Gualfín” data tag and then change its name to “Hualfín”. You will be asked to con-
firm that you want to combine the two. If you answer affirmatively (i.e., “combine”), you
will have seven measurements tagged as slickensides and the “Gualfín” data tag will be
deleted.
13 R. W. Allmendinger © 2017
FaultKin Mobile
for your reference. Moment Tensor Sum calculations can be carried out for the entire
group of lines (“All”) or separately by data type tag (“by Tag”). Contouring displays con-
tour lines only, not filled contours. The program uses the Robin and Jowett (1986)
smoothing routine to produce smoother contours on screen. Either Kamb or 1% area
contouring can be selected. Contours are always done separately by data type and use
the same ink color as that assigned to the data type. Both P and T axes are contoured
but the T axes contours have an alpha channel transparency of 50% so that they ap-
pear distinct from the P-axes contours. Finally, PT Dihedra and Fault Plane Solution con
only be applied to the entire group of showing fault slip data, regardless of how many
different data tags on the screen. Thus, you will probably want to filter the data to show
a single tag before selecting either of those options. Note that you can access the Set-
tings, Calculations, or Filter screens directly from the menu bar at the bottom of the
screen.
When you return to the FaultKin View using the button in the upper left of the screen, all
of your changes will appear as you specified.
Calculations
FaultKin Mobile can perform a number of common calculations by tapping the “Σ” button
from the tool bar at the bottom of either the Stereonet View or Configure Plot View. Be-
fore carrying out a calculation, be sure that the switch on the Settings View entitled
“Calculations replace existing data” is set the way that you wish. If it is turned on, a cal-
culation will replace what ever data have been entered in the lines or planes array. For
example, if you have a group of faults and tap “Rotate”, the existing fault data will be
erased and replaced with the rotated data. The default setting for FaultKin Mobile is with
“Calculations replace existing data” turned off. In this case, the results of the calculation
will be appended to the existing fault data and a new data tag and color defined to rep-
resent the results of the calculation. For example, if you have a data tag called "Haulfín"
and do a rotation, the new fault data tag will be called “Hualfín rotated" etc.
Rotate Data
Rotate data works just the way it does in a stereonet program. You enter the azimuth
and plunge of the rotation axis, as well as the magnitude. Positive magnitudes produce
a clockwise rotation looking in the direction of the rotation axis; negative values will pro-
duce a counterclockwise rotation. Tapping the “Rotate” button will immediately perform
the rotation and return you to the screen from which you called up Calculations. All of
the buttons on this view work the same way. If you have turned on “Calculations replace
14 R. W. Allmendinger © 2017
FaultKin Mobile
Unfold Data
If you have collected bedding attitude
data at the site of each fault measure-
ment, then you can ask FaultKin Mobile
to unfold the fault data by restoring local
bedding to horizontal. This allows you to
perform a fold test in the field. If bedding
hasn’t been entered, the fault datum re-
mains unaffected.
Angle Between…
It is not so easy to implement routines for getting angles between lines and planes with-
out taking up a lot of very precious space in iOS! In the current implementation, tapping
either part of the 2 Lines|2 Planes segmented button will return you to the Stereonet
view. The program will then calculate the angle between the lines, or poles, that repre-
15 R. W. Allmendinger © 2017
FaultKin Mobile
sent the next two taps on the screen (actually triggered by the release of your finger
from the screen). Once your have tapped on each of the lines (or poles to planes), a
message box will appear with the calculated angles. Because it is difficult to tap very
precisely on the screen, you should view the results as approximate only (unless your
finger is much steadier than mine!).
If you want to open one of those files, tap on the file name and it will be opened. If you
have any data already entered, the app will give you the option of either replacing the
entered data with the data in the opening file, or Appending the data in the file to the
data already entered in the program. The “RecoveryFile” behaves just like any other file
(except that you cannot delete if from within the program): just tap on it to recover your
data from an unexpected operation.
16 R. W. Allmendinger © 2017
FaultKin Mobile
If you use a Mac on the desktop, you can also use either Air Drop or iCloud Drive to
transfer files. For the former, select Air Drop and tap on the name of the person who you
have permission to air drop files to (usually your self, but you can also use this to send a
data file to another person). A file with a non-descriptive name like
“text-8525A5A16D63-1 3.txt” will be saved to the Downloads Folder on the receiving
Mac.
17 R. W. Allmendinger © 2017
FaultKin Mobile
Finally, an option that is particularly useful if you use iCloud Drive is the option to “Add
to iCloud Drive”. This will place a text file wherever you specify in your iCloud Drive; I
have set up a separate folder in iCloud Drive to receive these files. If a file with the
name generic name “Text File.txt” already exists, iCloud Drive will give you the option of
renaming the file. In general, you will want to use this only for transferring rather than
storing the data. I recommend adding a folder to your iCloud Drive called “FaultKin
Files” or some other equally clever name in which to save your data files.
In all cases, the data saved via Sharing is exactly the same format at the files stored in
your hidden documents folder on the device and sharable via iTunes Sharing. If you use
text pasted into Mail, for example, once you open the message in Mail copy the text that
it contains (including the header line) and you can then paste it into desktop Stereonet.
FaultKin on the desktop can also write files that can be read by FaultKin Mobile. Choose
File>Export Text File>FaultKin Mobile Format. The file saved will contain all of the
checked faults and each location name will be assigned a different data type tag in
FaultKin Mobile. If you use the same data set names as the built in or custom tags, then
those data will be imported into those categories. If your data set names are different,
they will be treated as new categories and append onto the ones already in the pro-
gram. In desktop FaultKin, save your data set that you want to read in. Then drag the
file to the iTunes file sharing window and the file will now be available on your device.
The file that FaultKin Mobile can read is a simple text file that can be edited (or pre-
pared) in a text editor or spreadsheet. All of the tab-separated columns must exist and
18 R. W. Allmendinger © 2017
FaultKin Mobile
have the appropriate text or numeric entries in order for the file to be read on the iOS
device. Thus you can prepare your own FaultKin Mobile files from scratch in text editor
or spreadsheet. The column headings must be exactly the same, however, as those
written by FaultKin Mobile. The digits in the Color column represent the RGB values (0-
255) of the assigned color, all run together. Red, with no blue or green, would be written
2550000 and cyan, a combination of blue and green would be written 00255255. Strikes
and dips are given exclusively using right hand rule. Note that while you can use dip az-
imuth and dip while in FaultKin Mobile, the app only saves data using strike and dip with
right hand rule and thus, if you prepare a file in say a spreadsheet, your bedding orien-
tations need to be as strike and dip.
• Stereonet Grid determines whether the background of the plot on the Stereonet
View has no grid, a light gray grid, or a dark gray grid. If you are projecting the
stereonet for a class to see, you probably want to choose “Dark” but light is the
setting for everyday use.
• Whether or not to change or rotate the grid while interactively entering data via
tapping and dragging in the stereonet
• Lines with negative plunges can either be displayed on the stereonet by project-
ing them into the lower hemisphere (the default) or by plotting them in the upper
hemisphere with a hollow circle.
• “Calculations replace existing data” switch has already been described in a pre-
vious section.
• If the “use rake for strike” switch is turned on, then striae will be entered by speci-
fying the rake; if it is turned off then you will enter the trend of the striae and the
program will calculate the plunge. For automatic data entry, either will do!
• Lines and planes weight: here you specify how thick the great circles that repre-
sent planes are drawn and how big the points that represent lines are drawn.
• Setting the offset of the active point from where the user taps the screen. The
default settings of –35 and –35 move the active point up to to the left by 35 pixels
19 R. W. Allmendinger © 2017
FaultKin Mobile
from where the user taps the screen which is useful for a right handed user using
his/her index finger. If you are left handed, you might want to set these for deltaX
= 35 and deltaY = –35 (up and to the right). If you are using an iPad Pro with an
Apple Pencil, you might want to set these to 0 and 0.
• You can change the view direction for the stereonet just the same way you do in
desktop Stereonet: by specifying the direction that the user is looking. You might
want to do this if, for example, you had just measured a bunch of planes in a
road cut and now wanted to see what they looked like in the same projection as
looking at the road cut.
• Enter the name of the geologist that will be used as the default value for all mea-
surements. This will usually be the same as the own of the iPhone!
• Documentation will load the online version of this document into Safari.
• About displays the current version, acknowledgments, and disclaimers
The settings screen can be scrolled by dragging a finger on the screen, which will be
necessary to see all options while using an iOS device smaller than an iPad.
Once you have everything the way you like it, tap Save Defaults and the next time you
launch FaultKin Mobile, the app will use your preferred options rather than mine. Save
Defaults also saves the planes, projection, and location formats that are set on the Plot
Configuration page. So, if you prefer to use Dip Azimuth and Dip with equal angle pro-
jection and UTM for location, set those options before tapping Save Defaults.
The Restore Defaults button will reinstate the app’s built-in options for your current ses-
sion. If you want to make those the permanent defaults, you must tap the Save Defaults
button after restore the defaults.
Acknowledgements
I am grateful to Jason King for his help establishing the true north reference frame and
to colleagues and students, Paul Karabinos, Haakon Fossen, Néstor Cardozo, and
Chris Siron who have tested versions of Stereonet Mobile upon which FaultKin Mobile is
based.
20 R. W. Allmendinger © 2017