"""
from ..command import Command, Argument, Failure
-from ..plugin import Builtin
+from . import Builtin
from .curve import CurveCommand
class macroCommands(object):
from ..command import Command, Argument, Failure
from ..interaction import ReloadUserInterfaceConfig
-from ..plugin import Builtin
+from . import Builtin
class ConfigPlugin (Builtin):
from ..command import Command, Argument, Success, Failure
from ..config import Setting
from ..experiment import VelocityClamp
-from ..plugin import Plugin, argument_to_setting
-from ..plugin.curve import CurveArgument
-from ..plugin.playlist import FilterCommand
-from ..plugin.vclamp import scale
from ..util.fit import PoorFit
from ..util.peak import find_peaks, find_peaks_arguments, Peak, _kwargs
+from . import Plugin, argument_to_setting
+from .curve import CurveArgument
+from .playlist import FilterCommand
+from .vclamp import scale
class ConvFiltPlugin (Plugin):
from ..command import Command, Argument, Failure
from ..curve import Data
-from ..plugin import Builtin
-from ..plugin.playlist import current_playlist_callback
from ..util.calculus import derivative
from ..util.fft import unitary_avg_power_spectrum
from ..util.si import ppSI, join_data_label, split_data_label
+from . import Builtin
+from .playlist import current_playlist_callback
# Define common or complicated arguments
import numpy
from ..command import Command, Argument, Failure
-from ..plugin import Plugin
+from . import Plugin
class CutPlugin (Plugin):
from .. import version
from ..command import Command, Argument
-from ..plugin import Builtin
+from . import Builtin
class DebugPlugin (Builtin):
from ..config import Setting
from ..curve import Data
from ..experiment import VelocityClamp
-from ..plugin import Plugin, argument_to_setting
-from ..plugin.curve import ColumnAddingCommand
-from ..plugin.playlist import FilterCommand
from ..util.fit import PoorFit
from ..util.peak import (find_peaks, peaks_to_mask,
find_peaks_arguments, Peak, _kwargs)
from ..util.si import join_data_label, split_data_label
+from . import Plugin, argument_to_setting
+from .curve import ColumnAddingCommand
+from .playlist import FilterCommand
class FlatFiltPlugin (Plugin):
from .. import __license__
from ..command import Command, Argument, Failure
-from ..plugin import Builtin
+from . import Builtin
class LicensePlugin (Builtin):
from ..command import Command, Argument, Failure
from ..playlist import FilePlaylist
-from ..plugin import Plugin
-from ..plugin.playlist import PlaylistArgument
+from . import Plugin
+from .playlist import PlaylistArgument
class MultifitPlugin (Plugin):
"""
from ..command import Command, Argument, Failure
-from ..plugin import Builtin
-from ..plugin.curve import current_curve_callback
+from . import Builtin
+from .curve import current_curve_callback
class NotePlugin (Builtin):
from ..command import Command, Argument, Failure
from ..playlist import FilePlaylist
-from ..plugin import Builtin
+from . import Builtin
class PlaylistPlugin (Builtin):
from ..command import Command, Argument, Failure
from ..playlist import FilePlaylist
-from ..plugin import Builtin
+from . import Builtin
from .playlist import PlaylistNameArgument
from ..command import Command, Argument, Success, Failure
from ..config import Setting
from ..curve import Data
-from ..plugin import Plugin, argument_to_setting
from ..util.callback import is_iterable
from ..util.fit import PoorFit, ModelFitter
from ..util.peak import Peak
from ..util.si import join_data_label, split_data_label
+from . import Plugin, argument_to_setting
from .curve import CurveArgument
from .vclamp import scale
import sys
from ..command import Command, Argument
-from ..plugin import Builtin
+from . import Builtin
class SystemPlugin (Builtin):
from ..command import Argument, Failure, NullQueue
from ..config import Setting
from ..curve import Data
-from ..plugin import Plugin
from ..util.fit import PoorFit, ModelFitter
from ..util.si import join_data_label, split_data_label
+from . import Plugin
from .curve import ColumnAddingCommand