Next: get_al_be_age.m
Up: Wrapper scripts and control
Previous: al_be_erosion_one.m
Syntax:
retstr = al_be_erosion_many(ins)
This function is essentially the same as al_be_erosion_one.m
, with the exception that the input structure has only one field, the text string which the user pasted into the text input block in the multiple-sample input form. Thus, the input data checking and parsing routines are slightly different.
The formatting rules for entering a text block containing data for multiple samples are as follows:
- Enter plain ASCII text only.
- Each sample should occupy its own line.
- Each line should have twelve elements, as described below.
- Elements should be separated from each other by white space (spaces or tabs).
- Something other than white space must be entered for each element. For example, if you have no
Al measurements for a sample, you must enter `0' in the
Al concentration and
Al uncertainty positions.
In most cases, pasting directly from an Excel spreadsheet should satisfy the rules. An example of an acceptable input text block appears below.
The thirteen elements are as follows. These are the same as the input parameters on the single-sample form.
- Sample name. Any text string not exceeding 24 characters. Sample names may not contain white space or any characters that could be interpreted as delimiters or escape characters, e.g., slashes of both directions, commas, quotes, colons, etc. Stick to letters, numbers, and dashes.
- Latitude. Decimal degrees.
- Longitude. Decimal degrees.
- Elevation/pressure. Meters or hPa, respectively, depending on selection below.
- Elevation/pressure flag. Specifies how to treat the elevation/pressure value. This is a three-letter text string. If you have supplied elevations in meters and the standard atmosphere is applicable at your site (locations outside Antarctica), enter `std' here. If you have supplied elevations in meters and your site is in Antarctica, enter `ant' here. If you have entered pressure in hPa, enter `pre' here. Any text other than these three options will be rejected.
- Sample thickness. Centimeters.
- Sample density. g
cm
.
- Shielding correction. Samples with no topographic shielding, enter 1. For shielded sites, enter a number between 0 and 1. The shielding correction can be calculated using
skyline.m
.
Be concentration. Atoms
g
. Standard or scientific notation.
- Uncertainty in
Be concentration. Atoms
g
. Standard or scientific notation.
Al concentration. Atoms
g
. Standard or scientific notation.
- Uncertainty in
Al concentration. Atoms
g
. Standard or scientific notation.
Here is an example of an acceptable input text block:
FV-TOP-1 38.6139 -109.1878 2527 std 2 2.5 1 4.59e5 1.3e4 2.69e6 8.80e4
FV-TOP-2 38.6136 -109.1955 2580 std 2 2.5 1 202000 8000 1100000 49000
FV-TOP-3 38.6204 -109.2062 2592 std 2 2.5 1 1.02e6 2.60e4 6.05e6 1.31e5
O4-AV-PIT9-NEW -77.8282 160.9762 1300 ant 2 1.9 0.973 6710000 116000 0 0
As with al_be_erosion_one.m
, the only calculation that takes place inside this function is the calculation of the uncertainty in the
Al
Be ratio. Denote the
Al/
Be ratio by
and its
uncertainty by
. Assuming linear, uncorrelated uncertainties:
 |
(4) |
where
is the concentration of nuclide
and
is its
analytical uncertainty.
Next: get_al_be_age.m
Up: Wrapper scripts and control
Previous: al_be_erosion_one.m
2006-05-08