Commit 52c6daa4c29e7cd6ca8bc322abe13243433b50c9
1 parent
5303c85a
Update documentation and version number
Showing
4 changed files
with
11 additions
and
11 deletions
scripts/cscaldb.py
| @@ -30,10 +30,10 @@ import os | @@ -30,10 +30,10 @@ import os | ||
| 30 | # ============ # | 30 | # ============ # |
| 31 | class cscaldb(ctools.cscript): | 31 | class cscaldb(ctools.cscript): |
| 32 | """ | 32 | """ |
| 33 | - This class implements the pull distribution generation script. It derives | ||
| 34 | - from the GammaLib::GApplication class which provides support for parameter | ||
| 35 | - files, command line arguments, and logging. In that way the Python | ||
| 36 | - script behaves just as a regular ctool. | 33 | + This class dumps the content of the ctools calibration database. |
| 34 | + It derives from the ctools.cscript class which provides support for | ||
| 35 | + parameter files, command line arguments, and logging. In that way | ||
| 36 | + the Python script behaves just as a regular ctool. | ||
| 37 | """ | 37 | """ |
| 38 | def __init__(self, *argv): | 38 | def __init__(self, *argv): |
| 39 | """ | 39 | """ |
| @@ -41,7 +41,7 @@ class cscaldb(ctools.cscript): | @@ -41,7 +41,7 @@ class cscaldb(ctools.cscript): | ||
| 41 | """ | 41 | """ |
| 42 | # Set name | 42 | # Set name |
| 43 | self.name = "cscaldb" | 43 | self.name = "cscaldb" |
| 44 | - self.version = "0.1.0" | 44 | + self.version = "1.0.0" |
| 45 | 45 | ||
| 46 | # Make sure that parfile exists | 46 | # Make sure that parfile exists |
| 47 | file = self.parfile() | 47 | file = self.parfile() |
scripts/cspull.py
| @@ -31,7 +31,7 @@ import csv | @@ -31,7 +31,7 @@ import csv | ||
| 31 | class cspull(ctools.cscript): | 31 | class cspull(ctools.cscript): |
| 32 | """ | 32 | """ |
| 33 | This class implements the pull distribution generation script. It derives | 33 | This class implements the pull distribution generation script. It derives |
| 34 | - from the ctool::cscript class which provides support for parameter | 34 | + from the ctools.cscript class which provides support for parameter |
| 35 | files, command line arguments, and logging. In that way the Python | 35 | files, command line arguments, and logging. In that way the Python |
| 36 | script behaves just as a regular ctool. | 36 | script behaves just as a regular ctool. |
| 37 | """ | 37 | """ |
| @@ -41,7 +41,7 @@ class cspull(ctools.cscript): | @@ -41,7 +41,7 @@ class cspull(ctools.cscript): | ||
| 41 | """ | 41 | """ |
| 42 | # Set name | 42 | # Set name |
| 43 | self.name = "cspull" | 43 | self.name = "cspull" |
| 44 | - self.version = "0.4.0" | 44 | + self.version = "1.0.0" |
| 45 | 45 | ||
| 46 | # Initialise some members | 46 | # Initialise some members |
| 47 | self.obs = None | 47 | self.obs = None |
scripts/cssens.py
| @@ -47,7 +47,7 @@ import math | @@ -47,7 +47,7 @@ import math | ||
| 47 | class cssens(ctools.cscript): | 47 | class cssens(ctools.cscript): |
| 48 | """ | 48 | """ |
| 49 | This class implements the sensitivity computation script. It derives | 49 | This class implements the sensitivity computation script. It derives |
| 50 | - from the GammaLib::GApplication class which provides support for parameter | 50 | + from the ctools.cscript class which provides support for parameter |
| 51 | files, command line arguments, and logging. In that way the Python | 51 | files, command line arguments, and logging. In that way the Python |
| 52 | script behaves just as a regular ctool. | 52 | script behaves just as a regular ctool. |
| 53 | """ | 53 | """ |
| @@ -57,7 +57,7 @@ class cssens(ctools.cscript): | @@ -57,7 +57,7 @@ class cssens(ctools.cscript): | ||
| 57 | """ | 57 | """ |
| 58 | # Set name | 58 | # Set name |
| 59 | self.name = "cssens" | 59 | self.name = "cssens" |
| 60 | - self.version = "0.4.0" | 60 | + self.version = "1.0.0" |
| 61 | 61 | ||
| 62 | # Make sure that parfile exists | 62 | # Make sure that parfile exists |
| 63 | file = self.parfile() | 63 | file = self.parfile() |
scripts/cstsdist.py
| @@ -32,7 +32,7 @@ import csv | @@ -32,7 +32,7 @@ import csv | ||
| 32 | class cstsdist(ctools.cscript): | 32 | class cstsdist(ctools.cscript): |
| 33 | """ | 33 | """ |
| 34 | This class implements the TS distribution generation script. It derives | 34 | This class implements the TS distribution generation script. It derives |
| 35 | - from the GammaLib::GApplication class which provides support for parameter | 35 | + from the ctools.cscript class which provides support for parameter |
| 36 | files, command line arguments, and logging. In that way the Python | 36 | files, command line arguments, and logging. In that way the Python |
| 37 | script behaves just as a regular ctool. | 37 | script behaves just as a regular ctool. |
| 38 | """ | 38 | """ |
| @@ -42,7 +42,7 @@ class cstsdist(ctools.cscript): | @@ -42,7 +42,7 @@ class cstsdist(ctools.cscript): | ||
| 42 | """ | 42 | """ |
| 43 | # Set name | 43 | # Set name |
| 44 | self.name = "cstsdist" | 44 | self.name = "cstsdist" |
| 45 | - self.version = "0.2.0" | 45 | + self.version = "1.0.0" |
| 46 | 46 | ||
| 47 | # Initialise some members | 47 | # Initialise some members |
| 48 | self.obs = None | 48 | self.obs = None |