TARAN — User Manual

Original publication date: 2015-01-21


How often we see Internet snipers posting 5 shot groups to “prove” precision of their rifles, and other Internet snipers drawing thoughtful conclusions on that basis? I have seen too many; anyone of us who has shot more than one 5 (or 3 or 10) shot group in his life knows how different the results can get due to sheer random statistical variance. Furthermore, besides the warm feeling of posting a nice group to a forum, the knowledge of the size of a 5-shot group does have zero practical value. The main purpose of the exercise is to know the probability to hit a given size target at a given distance; to this goal, a 5-shot group size is totally useless. Sigma, R50 or R95 are good, practical indicators of the actual spread.

How do we properly measure rifle precision — what method, how many shots? This question actually does have precise scientific answers. Many people have thought these thoughts before; for example:

This guy: https://github.com/lstange/mcgs

And these guys: http://ballistipedia.com/

And anyone listed here: http://ballistipedia.com/index.php?title=Prior_Art

(And pretty much any army in the world with enough money to hire a graduate engineering student.)

The science knows how to properly measure the precision of your rifle. The science also knows how to properly measure the precision of the measurement — its confidence interval. Then why doesn’t everyone do it properly? — you may wonder. The answer is — because it is complicated. We need to make it simple.

It all started as an attempt to scratch my personal itch — to evaluate precision of shooter-rifle-cartridge combination with statistically valid and scientifically sound conclusions. Although it is possible to do it “by hand” with a ruler and an Excel sheet, it does require quite a bit of time, that I’d rather spend shooting.

Hence, automation. TARAN Target Analysis and Rifle Precision is a piece of software to determine shooting precision, by aggregating shot information from multiple targets and groups.

The software can:

  • Load images (e.g. scans) of targets with impacts
  • Point-and-click to mark the scale (some known length on the target)
  • Point-and-click to mark the target centre (point of aim, POA); understands multiple targets/groups on the same image
  • Point-and-click to mark all impacts
  • For individual groups, calculate extreme spread and average point of impact (POI) — nothing else. We could do much more, but this is pointless — see below

The actual evaluation of rifle precision is NOT done by groups’ extreme spread, but by individual impacts aggregated from all targets. This, for several reasons:

  1. The number of shots in a single group is, as a rule, statistically insignificant, and
  2. Measuring precision by extreme spread is probably the LEAST efficient way of doing it, in terms of information per shot (we are using only two points of data; of the rest we only know that it is somewhere in between). Evaluating precision from all individual shots in a series saves you 25% to 40% of ammo to get to the same confidence.
  3. Also, extreme spread is very much skewed by fliers; a single flier in 5 groups of 5 shots skews 20% of measurements. A single flier in 25 individual shots skews only 4% of data.

Over all data points, the software calculates the statistically valid measure of spread — sigma, R50, R95, etc. along with associated confidence margins — the more shots we shoot, the closer we get to the truth (Rayleigh estimator and associated confidence intervals). It also calculates the aggregate average POI (with associated confidence margin) — how much off is your zero.

Incidentally, for entertainment purposes, the software also calculates average 5-shot and 10-shot groups size that can be expected from the rifle.

TARAN is free open source software under GPL3 license. TARAN does not collect any personal data. There is nothing uploaded to the server. There is no catch.

There are two options to run TARAN:
Hosted: https://bc.geladen.ch/taran/taran.html 
Local downloaded from the downloads page.

The two versions are exactly the same. To run the downloaded version, grab the ZIP file, unpack the archive files to some folder on your computer, and open “taran.html” with your favourite Web browser. Also, you may want to check out the system requirements in the FAQ below.

How to use it all is best described by example. This manual walks you through a TARAN project — from basic parameters definition to aggregated analytics — explaining everything you see on the screen.

The interface of TARAN is split into three panes, that can be accessed with the toolbar at the left side of the screen:

1. the project pane —

2. the target pane —

and 3. the analysis pane —

1. The project pane (where all begins)

The project pane is used to define project parameters (distance and calibre) and manage attached target images.

When you switch to the project pane, three additional buttons appear on the toolbar:

New project

Discards all data and starts a new project. The same can be done by simply reloading the browser window.

Save project

Saves the project to a file (XML format), including all parameters, targets, shots, analysis, etc. — everything. You should save your project before you close your browser or reload the TARAN page, otherwise all data will be lost.

Open project

Loads a project from file.

1.1. Define project parameters

This is pretty self-explanatory. There are some basic sanity checks built-in, which prevent entering obviously wrong values (e.g. distances beyond 3000 m/yd). When happy, click OK.

1.2. Add target image

Click on “Add target”, and select a target image file from your device. (You may wish to first check the FAQ item “What kind of target images I can use in TARAN?” below)

What you see here is a scaled-down preview of the image, just to set correct orientation; don’t worry, you will see many more detail in a minute.

The checkbox “Optimise image resolution (improves performance)” does what it says — downscales the image to max 2048 pixels in largest dimension. Modern cameras and scanners by default produce very high image resolution, which is not necessary for target analysis, but requires a lot of memory to process, slows down operations and makes huge save files. I would recommend to leave the checkbox on, unless you absolutely want to… well… I have no idea why one would want to keep the original resolution (but the option is there). Optimising the resolution is especially important for handling projects with many target images on low-memory devices, such as tablet computers.

If the image is sideways or upside-down, rotate it using the toolbar buttons.

When happy, click confirm

(or cancel to discard this image)

NOTA BENE: make sure the image is correctly rotated before proceeding. Once the image is added to the project, it is not possible to change its orientation; the only way is to remove it from project and add again.

2. The target pane

The target pane is used to indicate where the actual shots and groups are on your targets.

To the left you see the navigation panel. If there are multiple targets in the project, you can jump to the next and previous target using the navigation buttons.

Now check the right-hand part of the screen, where the big target is. You can zoom-out, zoom-fit, and zoom-in the image with these:

Zooming in is very practical if you want to see the details of the image (e.g. for greater precision to mark shot locations). I would recommend to use the toolbar buttons, rather than browsers’ built-in zoom features, because the toolbar zoom does not enlarge or reduce the rest of TARAN interface — if you want to zoom in really deep, the built-in browser zoom quickly gets messy.

2.1. Set scale

First, you need to tell the software how long is one millimetre (or one inch), so that distances can be correctly estimated.

This is rather straightforward — use a known length on the target, click where the starting point is

and confirm with “ok”.

(the starting point turns acid-green)

Then click where the ending point is

and confirm with “ok” (the whole length turns acid-green).

In the scale length input

enter the actual scale length (depending on your measurement system choice — in mm or in inches), and confirm with “ok”. The scale is set now:

The known length does not have to be horizontal (as in this example), it just needs to be known. To establish scale it is better to choose a rather large length (bigger than 10 cm / 4″) — the longer it is, the more precise are the measurements.

2.2. Define a group

When the scale is set, a new button appears on the toolbar.

This, my friend, is to define a new group. A group is defined by marking the point of aim (PoA); the usual drill: click on the toolbar button, click on the target where PoA is, confirm with “ok”.

TIP: zoom in to mark the group PoA precisely.

To delete a group (with all associated shots!) use the group delete button:

2.3. Mark shots

Now that the group is defined, we can start marking shots. Notice the new button:

As usual: click the button, click on target where the shot is, confirm with “ok”.

(marked the shot nearest to PoA)

As soon as you mark a second shot, two additional elements appear on the image:

The blue line is extreme spread, connecting two furthest shots in the group. The orange circle is the average point of impact (PoI). Both are calculated immediately as you add or remove shots. Here is the final picture of the group:

The “Delete shot” button deletes the last shot marked in the group

If you want numbers, just toggle the “Display groups infoboxes” checkbox.

And voilà:

A box appears with group’s extreme spread in your favourite units, and horizontal+vertical distances between the group’s PoA and average PoI. (I did not bother to calculate or display any other “statistics” for individual groups, see “Why TARAN does not calculate and display more information about groups?” FAQ item.)

2.4. Multiple groups on the same target

Of course, you can. Just mark a new PoA, and it starts a new group.

The lower group is selected — it has extreme spread displayed, and appears in brighter colours.

You can select a group either by clicking on the group’s PoA, or — notice changes in the left-hand navigation pane:

A summary of all group stats appears in the navigation pane just below the target preview. You can also select a group by clicking on group header (with the group icon, #, and shot count).

2.5. Target image export

Suppose I have shot some beautiful groups, and want to show off on my favourite Internet forum. TARAN has a feature for that:

The “Export image” button saves the current target image with all marked groups and shots.
– The target image is saved at the current zoom level
– All groups are selected, with ES and average PoI info boxes displayed
– The image is stamped with the project parameters (project title, distance, calibre), software version and timestamp

3. Targets management (back to the project pane)

Once we’re done with a target, we can get back to the project pane to add more targets to the project, and have a general overview.

“Add target”, as you can guess, adds a new target.

To delete a target from the project, click on the target header with the “Delete target” icon

Clicking on a target image selects it and switches to the Target pane.

4. Analysis pane

When we’re done with all targets and all groups in the project, we can switch to Analysis pane

The analysis pane is why TARAN has been written in the first place (the rest of it is just callipers with attitude).

It represents aggregated data from all shots registered in the project. As a reference, a 1MOA circle is drawn in dotted orange.

The grid can be selected (or switched off) by clicking on “Off”, “0.05 mrad” or “1/4 MOA” in the left pane.

4.1. Point of impact

In the centre, the orange circle represents the average PoI for all shots from all groups. Basically, it tells you how much off is your scope zero from the PoA (red circle).

The pale orange area around the average PoI is error margin. The error margin corresponds to 95% confidence, and, strictly speaking, means that if I shot an infinite number of similar projects, in 95% of the cases the true average PoI would be somewhere in this pale orange area (which may be different for each project).

In plain English, one can consider that the real PoI is *very* likely (statistically likely) to be within the error margins.

4.2. Measures of precision

As mentioned in the introduction, a single group’s extreme spread as a measure of rifle precision is both scientifically invalid and practically useless.

Rifle precision can, however, be rather accurately described by known statistical models. TARAN uses the Rayleigh distribution model to calculate precision parameters. The outcome of the modelling is presented in the left-hand pane:

SD (a.k.a. sigma) is the normal distribution’s standard deviation (and Rayleigh’s scale parameter).
R50, also known as Circular Error Probable (CEP) or Mean Radius, is the radius, which would statistically contain 50% of all shots — a very common ballistic and military measure of a weapon’s precision. A caveat on this one: it is a result of a mathematical model, and represents what would happen with an infinite number of shots; the actual shots accounted for in the project may be distributed slightly differently, and not exactly fall 50/50 inside/outside of R50 (but with enough shots it should be very close).
D5x and D10x, calculated mostly for entertainment purposes, represent the average extreme spread of 5-shot and 10-shot groups that can be expected from the rifle. Nota Bene: it does not mean that shots of such groups will be contained in a given diameter circle around the average PoI; actual centres of groups may be very different from the real rifle’s PoI and it’s mathematical estimation.
R95 and R99 — respectively radii containing 95% and 99% of the shots. R95 is a good indication of a “likely hit” probability.

You can toggle the display (thin grey circles) of SD, R50 and R99 by clicking on small buttons in the corresponding rows. On the example image above, R50 is displayed.

R95 is displayed as a thick green circle.

4.3. Hit probability calculator

Notice the slider 0%..99%.

It is a basic hit probability calculator. Any non-zero position of the slider displays a red circle with the associated radius and hit probability.

Of course, it only works for the same conditions as for the project targets — specifically, the same distance — but can be a valuable tool for classic (ISSF or CISM) sport shooters, for score estimation, and can also provide an immediate answer to idle questions like “how likely am I to hit a 1 MOA circle”.

4.4. Confidence

Proper confidence intervals is probably the most valuable feature of TARAN, as it allows you to know how much you can trust your measures (and also, incidentally, to discard statistically invalid bullshit claims).

Just as for PoI above, it can be considered as an interval where the real value is very likely to be. For instance, if statistical modelling shows R50 of 0.35 MOA with confidence interval of -13%..+18%, it means that the real R50 of the rifle is highly likely to be between 0.30 and 0.41 MOA.

The confidence interval in percent is the same for all precision values — sigma, R50, R95, etc.

The pale green doughnut around the R95 circle is the graphical representation of the confidence interval.

The Confidence-o-meter

Last but not least — the Confidence-o-meter is an attempt to set some quality standards in the business of amateur rifle precision measurement.

“Amateur” does not mean “poor” or “unscientific”. It designates rifle precision measurement within the means of a shooting enthusiast (as opposed to military research), who cannot afford to burn a few dozen barrels and a truckfull of ammo just to get to a hit prob figure.

The URURA scale of confidence goes like this:

CI = total Confidence Interval, in percentage of the measured value
NS = approximate number of shots needed (give or take a few — confidence intervals depend on actual shot distribution)

0: useless>50%<17does not clear the bullshit threshold
1: barely significant50%-45%19gives only a very vague idea
1+: poor45%-40%22still useless for most practical purposes
2: fair40%-35%24probably the lowest practically acceptable level
2+: above average35%-30%32for occasional shooter
3: good30%-25%45for serious shooting enthusiast
3+: very good25%-20%63perfectly good for most practical applications
4: awesome<20%96IDKFA!

4.5. Pulling analytic reports

Two buttons —

One — save report:

Saves the analysis report, as it appears on the screen, to a vector image file in SVG format.

Two — export shots table:

Saves the project shots as a table in CSV format (can be opened by Excel, Libreoffice/Openoffice Calc, etc.) for further analysis. The co-ordinates of shots are in real units (mm or inches, depending on project settings), relative to PoA.

5. Use cases

Now that we’ve got nice reports, and a deep warm feeling of being scientifically valid, one may wonder — what’s the actual practical point? Well, in addition to having firm data for further hit prob analysis (such as, for example, Plan 33), there are a few immediate practical uses, mostly relying on knowledge of confidence intervals:

Load development

Q: How do we know if load A is better than load B?
A: We shoot until confidence intervals no longer overlap.

A real example (~15 shots per load):
Load A — R50=0.31MOA, CI=-21%..+35%, that is R50 is between (0.31*0.79)=0.24 and (0.31*1.35) = 0.42 MOA
Load B — R50=0.39MOA, CI=-20%..+35%, that is R50 is between (0.39*0.8)=0.31 and (0.39*1.35) = 0.53 MOA

There is a large overlap between the statistically plausible R50 values for the two loads — 0.24-0.42 and 0.31-0.53. Therefore, we cannot conclude that one load is better than the other — the difference may be a result of sheer randomness. Therefore, we keep on shooting.

(In fact, in this particular example, it actually *was* sheer randomness; after 30 shots per load, the loads were very close at R50 of 0.33 and 0.35 MOA respectively; there was still no significant statistical difference.)

Zeroing a scope

I love this example.

Some time ago at the range I have witnessed an absolutely dramatic scene: a guy has wasted more than one hour and a crapload of ammo in an attempt to achieve perfect zero. He was going — three shots, average, adjust sights, another three shots to confirm… and he was completely elsewhere, adjust again, so repeating the same procedure over and over again. He blamed the scope, he blamed the mount, he blamed the electronic target system, not realising that the information on the POI he was getting from 3 shots was simply statistically insignificant.

This is a rather extreme example of intelligence, but it did happen to me to zero on a 5-shot average PoI, and actually be 2 clicks off PoA.

Answer: to achieve perfect zero, shoot until confidence intervals on average PoI get below half a click of your scope — then you are scientifically sure that zero is the best you can get with given click values.

Obviously, the number of shots necessary to get there wildly varies with rifle’s precision. Zeroing on 5 shots may be perfectly ok for a BR railgun, but with a Romanian AK you may still not know where you are after two magazines downrange.

Example: with a K31 and surplus 7.5 Swiss ammo, it took me 17 shots to get the PoI confidence intervals below +/-15mm at 300m (that is — less than half of 0.1mrad = 30mm click).

Avoid overscoping

As common shooting wisdom goes, a scope helps to see better, not to shoot better. There is no point getting a scope to see something that you cannot hit with reasonable certainty.

If R95 of your rifle is ~1-1.5MOA, a 10x or 12x scope is perfectly sufficient to clearly see (that is — comfortably aim) the smallest target that you can hit with certainty. Bigger zoom = dead weight and waste of money. You only need 20x or 25x if your rifle+cartridge combo is capable of R95 within 0.5-0.7 MOA. Otherwise, overscoped it is — extra zoom money would be better spent elsewhere.Main menu


Your app is great. Can I pay you a beer?

If you think TARAN is great, and in a surge of generosity want to pay me a beer or a box of ammo, donations are accepted by Paypal to “paypal [at] ptosis.ch”.

What are the license costs for TARAN?

The software is totally free as in “free speech” and as in “free beer”. I do not intend to sell or otherwise “monetise” the software, this is a hobby project; done it for myself anyway, and would be glad if it proves useful to others. Open source, GPL 3 license — you are free to play with the code, modify it as you like; contributions are very welcome.

What are TARAN system requirements?

System requirements:

1. Latest version of a Web browser

Tested with Chrome/Chromium and Firefox on Linux, and same plus Safari on Mac. It may or may not work on Internet Explorer (theoretically it should, with versions 10 and above) — I don’t have it, and would not develop for it, or fix any related problems.

Although it is a browser-based application, a Web server is not required — you can run it by pointing your browser to a local file on your computer.

2. Screen resolution above 1000×600

3. The interface has been designed for real computers with a mouse or a touchpad. I have tried it on an Android tab — it does work, but the interface is not particularly easy to use. As for iPads — I have no idea.

What about privacy? What data is collected?

In short:
TARAN does *NOT* collect any data.
TARAN does *NOT* send any data anywhere.

There are no tracking cookies, no registration, no hidden “features”, etc. — all this bullshit is against my beliefs, and I personally guarantee that there is none of it, and there will be none.

If you are using a downloaded local copy of TARAN, everything remains on the computer where the browser runs.

If you are using a hosted copy from ptosis.ch, only the web pages constituting the app are downloaded to your device. Strictly nothing is uploaded back to the server.

Do you provide support for the app?

Nope. I do it on my free time, as a hobby project, and offer no support whatsoever.

This being said, I probably *will* answer questions, fix bugs and introduce new features; I just don’t give any promises or guarantees about that.

Can you add feature X, to make the app even greater?

Feature requests can be submitted through this site’s contact form.

I do not promise to do something about them — there is no official support, but feel free to throw ideas.

(And of course, if you can code, and can fix it yourself — I would very much appreciate to get a copy of the patch.)

Your app has a bug. How to get it fixed?

Bug reports can be submitted through this site’s contact form.

This being said, I fix them if and when I can (and want) — there is no official support.

(And of course, if you can code, and can fix it yourself — I would very much appreciate if I could get a copy of the patch.)

What kind of target images I can use in TARAN?

TARAN was tested using PNG and JPEG file formats — these two are “officially” supported. In practice, TARAN should understand any image format that your browser can handle.

What’s more important is the picture itself:

1. Individual shots must be visible; one ragged hole = not ok. Therefore, at most 3 shots per group at 100m / 100 yards.

2. There should be a known distance measure on target to set the scale (e.g. grid, or simply a line of known length drawn with a ruler).

3. In order to produce meaningful results, the target image should be free from geometrical distortions — a flatbed scanner is perfect.

A photo is ok under two conditions: (a) narrow angle (big zoom from a few steps away) to avoid barrel/pincushion distortion, and (b) photo lens axis perpendicular to the target, aimed at the centre, to avoid perspective-related distortion. In other words, if using a photo, your target rectangle should be rectangle in the photo — straight lines, right angles.

Example — such image is not good:

(the target angles are not right, the sides are not parallel)

Example — such image is ok:

(the target angles are quite right, the sides are more or less parallel)

4. Of course, no sights/zero adjustment between series (otherwise averaging different series is meaningless).

How many shots do I need for statistically valid results?

That depends on the definition of “validity”.

The scale in the lower-left corner of the analysis pane gives an indication of the measurements quality. The confidence intervals depend on how actual shots are distributed across actual targets, but the following numbers can be used indicative guideline (give or take a few shots):

To get to minimal acceptable Level 1 quality (confidence interval is 50% of the value, poor quality), 17-19 shots are needed.

Level 2 (40% confidence interval, fair quality): 24-26 shots.

Level 3 (30% confidence interval, good quality): 45-47 shots.

Level 4 (20% confidence interval, excellent quality): 65-67 shots.

Why TARAN does not calculate and display more information about groups?

Indeed, the only information displayed about groups is:
1. Extreme spread
2. Average point of impact

Why don’t I display more? Because I don’t want to display bullshit.

Usually, the number of shots in a group is statistically insignificant to pull any conclusions. On “teh Internets” I have seen people thoughtfully reflecting on the form of a five-shot group (“well, it’s a bit oval, stretched from top-left to bottom right”) — they call it “group analysis”, what a load of crap!

This being said, ES and average PoI of a single 5-shot group are just as insignificant as any other 5-shot “statistics” — I only display them because people love them so much, and they look cool on an exported image.

The REAL stats, with confidence intervals, are in the Analysis pane, aggregated from all shots of all groups of all targets.

TARAN — User Manual
Scroll to top