Ex Mensura, Scientia
Companion tools to Wndsn Quadrant Telemeters: Low tech, high utility graphical distance & altitude computers from the Wndsn applied science lab.
To supplement our instruments, and to provide educational materials and diverse ways of accessing our devices and techniques, we are making available a number of calculators, to accompany our printed manuals, as exercise tools, to get a 'third opinion', and to demonstrate underlying principles.
The calculators are RESTful: every calculation lives in its address. The values you enter go into the link together with their units and the page's settings, so a bookmark or a shared link brings back the same result.
The same address also answers as an Application Programming Interface (API). Add format=json to it, or format=xml or format=csv, and the calculator returns its result as data instead of a page, for your own scripts and spreadsheets. This address, for example, asks the Range calculator for the distance to an object of 4.5 m seen at 2°:
https://tycho.wndsn.com/range/?size=4.5&alpha=2&angular_unit=deg&unit=m&calc=yes&digits=1&format=json
It answers with the values given, the values calculated, and the precision:
{"input":{"alpha":2,"angular_unit":"deg","size":4.5,"unit":"m"},
"output":{"distance":128.9,"multiplier":28.6,"degrees":2,"mil":34.9,"natomil":35.6,"moa":120},
"digits":1}
What you need to know:
calc=yes to calculate. Without it, the page shows, whatever the format.input holds what was given, under the parameter names and with its units, and output holds what was calculated. notes follows when there are any, and digits sits at the end. Numbers are numbers, and a value that does not exist is null in JSON and empty in XML and CSV.input column names the values given, such as alpha+size.digits sets the decimals of the results, from 0 to 9. Inputs come back as you gave them.notes and digits and no result, so a script can read what went wrong ("The angular size must be a number.").known_size for size, so your bookmarks keep working.A Danish astronomer, Tycho Brahe (1546 – 1601) was known for his comprehensive astronomical and planetary observations. Tycho's view of science was driven by his passion for accurate observations, and the quest for improved instruments of measurement drove his life's work. He was the last of the major naked-eye astronomers, working without telescopes for his observations.
Well known in his lifetime as an astronomer, astrologer and alchemist, he has been described as "the first competent mind in modern astronomy to feel ardently the passion for exact empirical facts." His observations were some five times more accurate than the best available observations at the time.
Yet in this my stars were not Mercury as morning star in the angle of the seventh house, in quartile with Mars, but they were Copernicus, they were Tycho Brahe, without whose books of observations everything which has now been brought by me into the brightest daylight would lie buried in darkness.
Johannes Kepler