pyworkflow.em.wizard module

This module implement some wizards

class pyworkflow.em.wizard.BandPassFilterDialog(parent, provider, **args)[source]

Bases: pyworkflow.em.wizard.DownsampleDialog

addFreqSlider(label, value, col)[source]
getFreqDecay()[source]
getHighFreq()[source]
getLowFreq()[source]
updateFilteredImage()[source]
class pyworkflow.em.wizard.CtfDialog(parent, provider, **args)[source]

Bases: pyworkflow.em.wizard.DownsampleDialog

addFreqSlider(label, value, col)[source]
getDownsample()[source]
getHighFreq()[source]
getLowFreq()[source]
updateFreqRing()[source]
class pyworkflow.em.wizard.CtfDownsampleDialog(parent, provider, **args)[source]

Bases: pyworkflow.em.wizard.CtfDialog

getDownsample()[source]
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.
class pyworkflow.em.wizard.DownsampleDialog(parent, provider, **args)[source]

Bases: pyworkflow.em.wizard.ImagePreviewDialog

getDownsample()[source]
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.
class pyworkflow.em.wizard.EmWizard[source]

Bases: pyworkflow.wizard.Wizard

class pyworkflow.em.wizard.FilterParticlesWizard[source]

Bases: pyworkflow.em.wizard.FilterWizard

class pyworkflow.em.wizard.FilterVolumesWizard[source]

Bases: pyworkflow.em.wizard.FilterWizard

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.GaussianFilterDialog(parent, provider, **args)[source]

Bases: pyworkflow.em.wizard.BandPassFilterDialog

getFreqSigma()[source]
class pyworkflow.em.wizard.GaussianParticlesWizard[source]

Bases: pyworkflow.em.wizard.GaussianWizard

class pyworkflow.em.wizard.GaussianVolumesWizard[source]

Bases: pyworkflow.em.wizard.GaussianWizard

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.ImagePreviewDialog(parent, provider, **args)[source]

Bases: pyworkflow.em.wizard.PreviewDialog

class pyworkflow.em.wizard.ListTreeProvider(objList=None)[source]

Bases: pyworkflow.gui.tree.TreeProvider

Simple list tree provider.

getObjectInfo(obj)[source]
getObjs()[source]

Get the objects.

getText(obj)[source]

Get the text to display for an object.

class pyworkflow.em.wizard.ListTreeProviderString(objList=None)[source]

Bases: pyworkflow.em.wizard.ListTreeProvider

getText(obj)[source]
class pyworkflow.em.wizard.MaskPreviewDialog(parent, provider, **args)[source]

Bases: pyworkflow.em.wizard.ImagePreviewDialog

addRadiusBox(parent)[source]
getRadius()[source]
updateRadius()[source]
class pyworkflow.em.wizard.MaskRadiiPreviewDialog(parent, provider, **args)[source]

Bases: pyworkflow.em.wizard.MaskPreviewDialog

getRadius(radiusSlider)[source]
updateRadius(radiusSliderOut, radiusSliderIn)[source]
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.
class pyworkflow.em.wizard.MaskRadiusWizard[source]

Bases: pyworkflow.em.wizard.EmWizard

setVar(form, label, value)[source]
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.ParticleMaskRadiusWizard[source]

Bases: pyworkflow.em.wizard.MaskRadiusWizard

class pyworkflow.em.wizard.ParticlesMaskRadiiWizard[source]

Bases: pyworkflow.em.wizard.MaskRadiiWizard

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

body(bodyFrame)[source]
class pyworkflow.em.wizard.VolumeMaskRadiiWizard[source]

Bases: pyworkflow.em.wizard.MaskRadiiWizard

class pyworkflow.em.wizard.VolumeMaskRadiusWizard[source]

Bases: pyworkflow.em.wizard.MaskRadiusWizard