Skip to content
David Young edited this page Nov 11, 2015 · 17 revisions

Sherlock Wiki

Matching

Use the sherlock command to match new transient objects in a transients database. Once your settings file is in order all you have to do is run sherlock match --update to update your transients database with new classifications.

Usage:
    sherlock match [--update] [-s <pathToSettingsFile>]
    sherlock clean [-s <pathToSettingsFile>]
    sherlock wiki [-s <pathToSettingsFile>]

    -h, --help            show this help message
    -s, --settings        the settings file
    -u, --update          update the transient database with new classifications and crossmatches

Here's a [detailed walkthrough of the matching workflow](Sherlock Workflow).

Importing Catalogues and Data-Streams

Using the sherlock-import command it's possible to import and update various catalogues and data-streams including Milliquas, Veron AGN and the NED-D catalogues. [See here for details](Catalogue Importers).

sherlock-importers cat <cat_name> <pathToDataFile> <cat_version> [-s <pathToSettingsFile>]
sherlock-importers stream <stream_name> [-s <pathToSettingsFile>]

There are a few cron-scripts that handle the automation of imports and database updates.

Database Scheme

There's a [strict table naming syntax for the crossmatch-catalogues](Crossmatch-Catalogues Database Scheme) database to help deal with catalogue versioning (as updated versions of out crossmatch catalogues are released) and to help ease the burden of modifying crossmatch algorithms employed.

[See here for an up-to-date list of the crossmatch-catalogues](Crossmatch Catalogue Tables) and the [views](Crossmatch Catalogue Views) found on those tables.

Extra Notes

  • Automation
  • [Notes on Connecting to the Databases](Notes on Connecting to the Databases)
  • [State of Code Before Refactoring](State of Code Before Refactoring)
  • [The Refactored the Code](Refactoring the Code)