class CurvePlugin (Builtin):
def __init__(self):
super(CurvePlugin, self).__init__(name='curve')
-
- def commands(self):
- return [InfoCommand(), ExportCommand(),
- DifferenceCommand(), DerivativeCommand(),
- PowerSpectrumCommand()]
+ self._commands = [
+ InfoCommand(), ExportCommand(),
+ DifferenceCommand(), DerivativeCommand(),
+ PowerSpectrumCommand()]
+ self._setup_commands()
# Define common or complicated arguments