File MIES_SweepFormula_Operations_Select.ipf¶
SFOS Sweep Formula Operations Select
Constants for SweepFormula Clampmode user argument strings used in selcm()
-
static const string SF_OP_SELECTCM_CLAMPMODE_ALL = "all"¶
-
static const string SF_OP_SELECTCM_CLAMPMODE_NONE = "none"¶
-
static const string SF_OP_SELECTCM_CLAMPMODE_IC = "ic"¶
-
static const string SF_OP_SELECTCM_CLAMPMODE_VC = "vc"¶
-
static const string SF_OP_SELECTCM_CLAMPMODE_IZERO = "izero"¶
Functions
-
wave SFOS_OperationSelect(SF_ExecutionData *exd)¶
select(selectFilterOp...)
returns 2 datasets, main wave typed SF_DATATYPE_SELECTCOMP dataset 0: N x 3 with columns [sweepNr][channelType][channelNr], typed SF_DATATYPE_SELECT dataset 1: WaveRef wave with range specifications, typed SF_DATATYPE_SELECTRANGE
-
wave SFOS_OperationSelectChannels(SF_ExecutionData *exd)¶
selchannels([str name]+)
converts a named channel from string to numbers.returns [[channelName, channelNumber]+]
-
wave SFOS_OperationSelectCM(SF_ExecutionData *exd)¶
selcm(mode, mode, ...)
// mode can beic
,vc
,izero
,all
see SFClampModeStringsreturns a one element numeric wave with SF_OP_SELECTCM_CLAMPMODE_* ORed together from all arguments, see SFClampcodeConstants
-
wave SFOS_OperationSelectDevice(SF_ExecutionData *exd)¶
seldev(device)
// device is a string with optional wildcardsreturns a one element text wave
-
wave SFOS_OperationSelectExpandRAC(SF_ExecutionData *exd)¶
selexpandrac()
// no argumentsreturns a one element numeric wave
-
wave SFOS_OperationSelectExpandSCI(SF_ExecutionData *exd)¶
selexpandsci()
// no argumentsreturns a one element numeric wave
-
wave SFOS_OperationSelectExperiment(SF_ExecutionData *exd)¶
selexp(expName)
// expName is a string with optional wildcardsreturns a one element text wave
-
wave SFOS_OperationSelectIVSCCSetQC(SF_ExecutionData *exd)¶
SelIVSCCSetQC(passed | failed)
returns a one element numeric wave with either SF_OP_SELECT_IVSCCSETQC_PASSED or SF_OP_SELECT_IVSCCSETQC_FAILED
-
wave SFOS_OperationSelectIVSCCSweepQC(SF_ExecutionData *exd)¶
SelIVSCCSweepQC(passed | failed)
returns a one element numeric wave with either SF_OP_SELECT_IVSCCSWEEPQC_PASSED or SF_OP_SELECT_IVSCCSWEEPQC_FAILED
-
wave SFOS_OperationSelectRACIndex(SF_ExecutionData *exd)¶
selracindex(x)
// one numeric argumentreturns a one element numeric wave
-
wave SFOS_OperationSelectRange(SF_ExecutionData *exd)¶
selrange(rangespec)
returns 1 dataset with range specification (either text or 2 point numerical wave)
-
wave SFOS_OperationSelectSCIIndex(SF_ExecutionData *exd)¶
selsciindex(x)
// one numeric argumentreturns a one element numeric wave
-
wave SFOS_OperationSelectSetCycleCount(SF_ExecutionData *exd)¶
selsetcyclecount(x)
// one numeric argumentreturns a one element numeric wave
-
wave SFOS_OperationSelectSetSweepCount(SF_ExecutionData *exd)¶
selsetsweepcount(x)
// one numeric argumentreturns a one element numeric wave
-
wave SFOS_OperationSelectStimset(SF_ExecutionData *exd)¶
selstimset(stimsetName, stimsetName, ...)
returns a N element text wave with stimset names
-
wave SFOS_OperationSelectSweeps(SF_ExecutionData *exd)¶
selsweeps()
,selsweeps(1,2,3, [4...6])
returns all possible sweeps as 1d array
-
wave SFOS_OperationSelectVis(SF_ExecutionData *exd)¶
selvis(mode)
// mode can beall
ordisplayed
returns a one element text wave with either SF_OP_SELECTVIS_ALL or SF_OP_SELECTVIS_DISPLAYED
-
static variable SFOS_InitSelectFilterUninitalized(SF_SelectParameters *s)¶
-
static wave SFOS_GetSetIntersectionSelect(wave select1, wave select2)¶
Returns the set intersection of two select waves from operation select.
-
static variable SFOS_SetSelectionFilterDefaults(string graph, SF_SelectParameters *filter, variable includeAll)¶
sets uninitialized fields of the selection filter
-
static string SFOS_GetSelectionExperiment(string graph, string expName)¶
-
static string SFOS_GetSelectionDevice(string graph, string device)¶
-
static wave SFOS_GetSelectData(string graph, SF_SelectParameters *filter)¶
Use the labnotebook information to return the active channel numbers for a given set of sweeps.
- Parameters:
graph – DataBrowser or SweepBrowser reference graph
filter – filled SF_SelectParameters structure
- Returns:
a selectData style wave with three columns containing sweepNumber, channelType and channelNumber
-
static wave SFOS_GetSelectDataWithRACorSCIIndex(string graph, wave selectData, variable index, variable mode)¶
-
static wave SFOS_GetSelectDataWithRACIndex(wave selectData, wave cycleIds, WaveTextOrNull sweepMap, variable index)¶
-
static wave SFOS_GetSelectDataWithSCIIndex(wave selectData, wave cycleIds, wave headstages, WaveTextOrNull sweepMap, variable index)¶
-
static wave SFOS_GetAdditionalSweepsWithSameSCIorRAC(wave numericalValues, variable mode, variable sweepNo, variable channelType, variable channelNumber)¶
-
static wave SFOS_SortSelectData(wave selectData)¶
-
static wave SFOS_CreateSelectWaveRowIds(wave select)¶
-
static wave SFOS_GetUniqueSelectData(wave selectData)¶
-
static wave SFOS_GetSelectDataWithSCIorRAC(string graph, wave selectData, SF_SelectParameters *filter, variable mode)¶
Takes input selections and extends them. The extension of the selection is chosen through mode, one of SELECTDATA_MODE_* For RAC: For each input selection adds all selections of the same repeated acquisition cycle For SCI: For each input selection adds all selections of the same stimset cycle id and headstage Returns all resulting unique selections.
-
static wave SFOS_NewChannelsWave(variable size)¶
-
static string SFOS_MatchSweepMapColumn(string graph, string match, string colLabel, string opShort)¶
-
static wave SFOS_MakeSweepPropertiesDisplayed(variable numTraces)¶
-
static wave SFOS_MakeSweepLNBsDisplayed(variable numTraces)¶
-
static wave SFOS_GetSweepMapIndices(WaveText sweepMap, variable sweepNo, string expName, string device, string colLabel = defaultValue, string wildCardPattern = defaultValue)¶
Return the matching indices of sweepMap, if expName or device is an emtpy string then it is ignored.
-
static variable SFOS_MapClampModeToSelectCM(variable clampMode)¶
-
static variable SFOS_IsValidSingleSelection(SF_SelectParameters *filter, wave numericalValues, wave textualValues, variable filtSweepNo, variable filtChannelNumber, variable filtChannelType, variable sweepNo, variable channelNumber, variable channelType, variable clampMode, variable setCycleCount, variable setSweepCount, variable doStimsetMatching)¶
-
static variable SFOS_FilterByClampModeEnabled(variable clampModeFilter, variable channelType)¶
-
static string SFOS_GetSelectRowId(wave select, variable row)¶
-
static std::tuple<SF_SelectParameters> SFOS_DuplicateSelectFilter(SF_SelectParameters *filter)¶
-
static string SFOS_CreateSweepMapRowId(string experiment, string datafolder, string device, string sweep)¶
Variables
-
static const double SELECTDATA_MODE_SCI = 1¶
-
static const double SELECTDATA_MODE_RAC = 2¶
-
static const string SF_OP_SELECT_IVSCCQC_PASSED = "passed"¶
-
static const string SF_OP_SELECT_IVSCCQC_FAILED = "failed"¶
-
static const string SF_OP_SELECT_STIMSETS_ALL = "*"¶
-
static const string SF_OP_SELECTVIS_ALL = "all"¶
-
static const string SF_OP_SELECTVIS_DISPLAYED = "displayed"¶
-
static const string SF_GETSETINTERSECTIONSELECT_FORMAT = "%d_%d_%d_%f"¶
-
static const double SWEEPPROP_CLAMPMODE = 0¶
-
static const double SWEEPPROP_SETCYCLECOUNT = 1¶
-
static const double SWEEPPROP_SETSWEEPCOUNT = 2¶
-
static const double SWEEPPROP_END = 3¶
-
static const string DB_EXPNAME_DUMMY = "|DataBrowserExperiment|"¶