cytoflowgui.workflow.operations.import_op

class cytoflowgui.workflow.operations.import_op.ValidPythonIdentifier(default_value=<traits.trait_type._NoDefaultSpecifiedType object>, **metadata)[source]

Bases: traits.trait_types.BaseCStr

info_text = 'a valid python identifier'

A description of the type of value this trait accepts:

validate(obj, name, value)[source]

Validates that a specified value is valid for this trait.

Note: The ‘fast validator’ version performs this check in C.

class cytoflowgui.workflow.operations.import_op.Channel[source]

Bases: traits.has_traits.HasTraits

class cytoflowgui.workflow.operations.import_op.ImportWorkflowOp[source]

Bases: cytoflowgui.workflow.operations.operation_base.WorkflowOperation, cytoflow.operations.import_op.ImportOp

reset_channels()[source]
estimate(_)[source]
apply(*args, **kwargs)[source]

Load a new Experiment.

Parameters
  • experiment (Experiment) – Ignored

  • metadata_only (bool (default = False)) – Only “import” the metadata, creating an Experiment with all the expected metadata and structure but 0 events.

Returns

The new Experiment. New channels have the following metadata:

  • voltage - int

    The voltage that this channel was collected at. Determined by the $PnV field from the first FCS file.

  • range - int

    The maximum range of this channel. Determined by the $PnR field from the first FCS file.

New experimental conditions do not have voltage or range metadata, obviously. Instead, they have experiment set to True, to distinguish the experimental variables from the conditions that were added by gates, etc.

If ignore_v is set, it is added as a key to the Experiment-wide metadata.

Return type

Experiment

clear_estimate()[source]
get_notebook_code(idx)[source]