@@ -116,8 +116,8 @@ def meca(
116
116
117
117
``spec`` can be specified in either of the following types:
118
118
119
- - `` str`` : a file name containing focal mechanism parameters as
120
- columns. The meanings of each column is:
119
+ - * str* : a file name containing focal mechanism parameters as
120
+ columns. The meaning of each column is:
121
121
122
122
- Columns 1 and 2: event longitude and latitude
123
123
- Column 3: event depth (in km)
@@ -128,13 +128,13 @@ def meca(
128
128
beachball. Using ``0 0`` will plot the beachball at the longitude,
129
129
latitude given in columns 1 and 2. [optional and requires
130
130
``offset=True`` to take effect].
131
- - Text string to appear near the beach ball [optional].
131
+ - Text string to appear near the beachball [optional].
132
132
133
- - ** 1D array* *: focal mechanism parameters of a single event.
133
+ - *1D array*: focal mechanism parameters of a single event.
134
134
The meanings of columns are the same as above.
135
- - ** 2D array* *: focal mechanim parameters of multiple events.
135
+ - *2D array*: focal mechanim parameters of multiple events.
136
136
The meanings of columns are the same as above.
137
- - dict or pd.DataFrame: The dict keys or pd.DataFrame column names
137
+ - * dict or pd.DataFrame* : The dict keys or pd.DataFrame column names
138
138
determine the focal mechanims convention. For different conventions,
139
139
the following combination of keys are allowed:
140
140
@@ -153,9 +153,9 @@ def meca(
153
153
``latitude``, ``longitude``, ``depth``, ``plot_longitude``,
154
154
``plot_latitude``, and/or ``event_name``.
155
155
156
- For ``spec`` in either a str, a 1D array or a 2D array, the
156
+ If ``spec`` is either a str, a 1D array or a 2D array, the
157
157
``convention`` parameter is required so we know how to interpret the
158
- columns. For ``spec`` in a dict or a pd.DataFrame, ``convention`` is
158
+ columns. If ``spec`` is a dict or a pd.DataFrame, ``convention`` is
159
159
not needed and is ignored if specified.
160
160
161
161
scale: str
@@ -164,11 +164,12 @@ def meca(
164
164
magnitude = 5 (i.e. scalar seismic moment M0 = 4.0E23 dynes-cm).
165
165
convention: str
166
166
Focal mechanism convention. Choose from:
167
+
167
168
- ``"aki"`` (Aki & Richards)
168
169
- ``"gcmt"`` (global CMT)
169
170
- ``"mt"`` (seismic moment tensor)
170
171
- ``"partial"`` (partial focal mechanism)
171
- - ``"principal_axis"`` (principal axis).
172
+ - ``"principal_axis"`` (principal axis)
172
173
173
174
Ignored if ``spec`` is a dictionary or pd.DataFrame.
174
175
component: str
@@ -199,7 +200,7 @@ def meca(
199
200
as the number of events. Will override the ``plot_latitude`` values in
200
201
``spec`` if ``spec`` is a dict or pd.DataFrame.
201
202
event_name : str or list of str, or 1d numpy array
202
- Text strings (e.g., event names) to appear near the beach ball . List
203
+ Text strings (e.g., event names) to appear near the beachball . List
203
204
must be the same length as the number of events. Will override the
204
205
``event_name`` values in ``spec`` if ``spec`` is a dict or
205
206
pd.DataFrame.
0 commit comments