2008-04-16T14:02:00Z
500
An interface to ADS' Dexter data extraction applet
for usage with uploaded data
astronomy-data-analysis
Made applet loading work on Konqueror and IE.
. Of course, we cannot
add detail that is not in the image, but scaling up helps with the
representation of greyscale in the bilevel image, so in particular for
colour input you will want to put something like 200 or so here. Do not
overdo it, though, since many Java VMs built into browsers will
crash your browser if asked to load giant images.
The binarization method can be simple thresholding (everything that has
more than half the maximal intensity becomes white, everything else black)
or one of several error diffusion methods. Try Floyd-Steinberg first
if your image looks really bad in Dexter. You can experiment by
re-uploading with various settings.
Starting the extraction
-----------------------
Once the data is in, you will see previews for the page(s) on the top
of the resulting web page (and the option to re-upload below [#deleting]_)
as well as a selection of data sets that may have been extracted before.
Click on the page you want extracted. If your input was a PDF, you will
arrive at Dexter's area selection. For images, we assume you already
more or less selected the area of interest and send you to Dexter's
extraction window right away, with the entire image. The area selection
widget is still present, albeit very small.
From that point on, let the Dexter documentation help you. We may
in particular mention the recognizers that frequently help you assign
axes, or find points and trace lines for you.
.. [#loading] Dexter currently cannot load existing results. We could
retrofit this functionality if there is some demand, so just send
us a mail if you need this.
.. [#deleting] Also note
the link "Delete this data set from server" at the very bottom of the
page; use this if you do not want other people from being able to guess
the name you gave and see your data.
]]>
static
my_dexter
Dexter for your data
ui/custom/__testing__
self.assertHasStrings("custom/__testing__/edit/0")
self.assertXpath("//cheerpj-applet", {
"code": "Dexter",
"codebase": "/dexter/ui/ui/static",
"height": "100",
"style": "float:left",
"width": "100"})
self.assertHTTPStatus(404)
self.assertHTTPStatus(404)
self.assertHasStrings(b"\\x89PNG")
ui/custom/__testing__/img/0
self.assertHasStrings("GIF87a")
self.assertHasStrings("Confirm deletion")
ui/custom/__testing__/purgeData
self.assertHTTPStatus(303)
self.assertHeader('Location', EqualingRE('.*/dexter/ui/ui/custom/'))
if b'custom/__testing__/edit/0"' in self.data:
raise AssertionError("Dexter purge failed")
ui/custom/__testing__/purgeData
self.assertHTTPStatus(303)
self.assertHeader('Location', EqualingRE('.*/dexter/ui/ui/custom/'))