segment.check_subconductance {scbursts}R Documentation

Check if segment contains subconductive states

Description

Check if segment contains subconductive states

Usage

segment.check_subconductance(segment)

Arguments

segment

The dwells and states table

Value

True if it contains an conductance other than 0 or 1, False otherwise.

Examples


# It's more likely that you created states or dwells with some function
states  <-  c(0,    0.2,    0,    1,    0,  0.5,    0,  0.7,    0,    1)
dwells  <-  c(0.1,  1.1,  0.5,  0.2,  1.0,  1.1,  0.6,  1.1,  0.8,  1.1)
my_burst <- segment.create(states, dwells, seg=1, start_time=3.14159, name="example_segment")

segment.check_subconductance(my_burst)


[Package scbursts version 1.6 Index]