pyworkflow.em.wizard module¶
This module implement some wizards
-
class
pyworkflow.em.wizard.
CtfWizard
[source]¶ Bases:
pyworkflow.em.wizard.EmWizard
-
classmethod
getView
()[source]¶ This method should return the string value of the view in web that will respond to this wizard. This method only should be implemented in those wizards that have WEB_DJANGO environment defined.
-
show
(form, value, label, units='px')[source]¶ This will show up the wizard to select parameters. Params:
- form: the protocol form, given access to to all parameters.
- Some times the same wizard will modifify several elements in the form.
- *params: a list of params to modify, sometimes the wizard can
- be generic and can be used for different parameters in the same form.
-
classmethod
-
class
pyworkflow.em.wizard.
DownsampleWizard
[source]¶ Bases:
pyworkflow.em.wizard.EmWizard
-
classmethod
getView
()[source]¶ This method should return the string value of the view in web that will respond to this wizard. This method only should be implemented in those wizards that have WEB_DJANGO environment defined.
-
show
(form, value, label, units='px')[source]¶ This will show up the wizard to select parameters. Params:
- form: the protocol form, given access to to all parameters.
- Some times the same wizard will modifify several elements in the form.
- *params: a list of params to modify, sometimes the wizard can
- be generic and can be used for different parameters in the same form.
-
classmethod
-
class
pyworkflow.em.wizard.
EmWizard
[source]¶ Bases:
pyworkflow.wizard.Wizard
-
class
pyworkflow.em.wizard.
FilterWizard
[source]¶ Bases:
pyworkflow.em.wizard.EmWizard
-
show
(form, value, label, mode, unit='px', **args)[source]¶ This will show up the wizard to select parameters. Params:
- form: the protocol form, given access to to all parameters.
- Some times the same wizard will modifify several elements in the form.
- *params: a list of params to modify, sometimes the wizard can
- be generic and can be used for different parameters in the same form.
-
-
class
pyworkflow.em.wizard.
GaussianWizard
[source]¶ Bases:
pyworkflow.em.wizard.EmWizard
-
show
(form, value, label, units='1/px')[source]¶ This will show up the wizard to select parameters. Params:
- form: the protocol form, given access to to all parameters.
- Some times the same wizard will modifify several elements in the form.
- *params: a list of params to modify, sometimes the wizard can
- be generic and can be used for different parameters in the same form.
-
-
class
pyworkflow.em.wizard.
ListTreeProvider
(objList=None)[source]¶ Bases:
pyworkflow.gui.tree.TreeProvider
Simple list tree provider.
-
class
pyworkflow.em.wizard.
MaskRadiiWizard
[source]¶ Bases:
pyworkflow.em.wizard.EmWizard
-
classmethod
getView
()[source]¶ This method should return the string value of the view in web that will respond to this wizard. This method only should be implemented in those wizards that have WEB_DJANGO environment defined.
-
show
(form, value, label, units='px')[source]¶ This will show up the wizard to select parameters. Params:
- form: the protocol form, given access to to all parameters.
- Some times the same wizard will modifify several elements in the form.
- *params: a list of params to modify, sometimes the wizard can
- be generic and can be used for different parameters in the same form.
-
classmethod
-
class
pyworkflow.em.wizard.
MaskRadiusWizard
[source]¶ Bases:
pyworkflow.em.wizard.EmWizard
-
show
(form, value, label, units='px')[source]¶ This will show up the wizard to select parameters. Params:
- form: the protocol form, given access to to all parameters.
- Some times the same wizard will modifify several elements in the form.
- *params: a list of params to modify, sometimes the wizard can
- be generic and can be used for different parameters in the same form.
-
-
class
pyworkflow.em.wizard.
PDBVolumeWizard
[source]¶ Bases:
pyworkflow.em.wizard.EmWizard
-
show
(form)[source]¶ This will show up the wizard to select parameters. Params:
- form: the protocol form, given access to to all parameters.
- Some times the same wizard will modifify several elements in the form.
- *params: a list of params to modify, sometimes the wizard can
- be generic and can be used for different parameters in the same form.
-
-
class
pyworkflow.em.wizard.
PreviewDialog
(parent, provider, **args)[source]¶ Bases:
pyworkflow.gui.dialog.Dialog
This will be the base class for several wizards. The layout of this wizard will be: 1. Left panel(Items) that contains a list of items to preview 2. Right-top panel (Preview) where some preview of the items will be displayed 3. Right-bottom panel (Controls) where some controls can change the preview