# Changes between Version 5 and Version 6 of DatabaseBasedAnalysis/calcsource

Ignore:
Timestamp:
Nov 12, 2018, 2:37:18 PM (4 months ago)
Comment:

--

### Legend:

Unmodified
 v5 }}} The FileId comes again from the command line argument. The table name for the '''Images''' table can be altered by --table.events. The !FileId comes again from the command line argument. The table name for the '''Images''' table can be altered by --table.events. For source and pointing position, zenith distance and azimuth is calculated using libnova and the wrapper Nova::GetHrzFromEqu. The result is then rotated into the camera and projected on a plane which gives the x/y coordinates in the camera. The result is then inserted into a table '''Position''' which name can be altered with --table.position. By default, all entries corresponding to the given FileId are deleted from the table before the new positions are inserted running The result is then inserted into a table '''Position''' which name can be altered with --table.position. By default, all entries corresponding to the given !FileId are deleted from the table before the new positions are inserted running {{{#!sql DELETE FROM Position WHERE FileId=YYMMDDNNN