Jump to content

Condition Property to Signal that Spans Capsule Durations

Recommended Posts


I have a condition (imported from CSV) containing many numeric properties that I'd like to use in a formula. So far, I've been able to pull the property data into a signal using toSignal() and toNumeric() functions:

$condition.toSignal('<Property Name>').toNumeric()

but the result is discrete data points at the beginning of each capsule. How can I modify my formula so that the resulting signal is flat lines spanning the duration of each capsule? What I'm looking for is just like the result of selecting "Duration" for "Select where to place the timestamp of the summary statistic" in a Signal from Condition except the "statistic" a specified property of each capsule.



Link to comment
Share on other sites

  • Administrators

It would be possible to shorten the formula by using the following syntax.


Note: Depending on the format of the property using toNumber() may not be necessary so it could be removed as well.


Hope this helps,

  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...