Jump to content

Rezwan

Members
  • Posts

    5
  • Joined

  • Last visited

Rezwan's Achievements

Rookie

Rookie (2/14)

  • One Month Later
  • Week One Done
  • Dedicated
  • First Post
  • Reacting Well

Recent Badges

0

Reputation

  1. Hi Joe, Thank you for you reply. Yes, in that case runningSum() is my best option. I am running into tow different situations with runningSum(). 1. runningSum() is working with the signal as is and providing me the right cumulative values 2. In the other cases, I needed to convert them to discreet signal as you suggested to get the right values. Do you know why I am having these two different scenarios with runningSum().
  2. Do I have any options other than runningSum() for cumulative sum?
  3. Thanks Joe for the quick response. It worked, but I needed to convert the signal back to step and I did it as: $series.aggregate(sum(), $capsules.setMaximumDuration(40h), durationKey()) Any simpler ways to convert this to step again. For Sig1, you can see that there is no line in the first drop or I would say missing data point. tried to use setmaxinterpolate(), but it is not filling the gaps. Any suggestions on this would be much appreciated. Thanks.
  4. Hello, I am trying to create a cumulative sum of Sig 1 using runningSum() within the condition "Cond". The following code was used. $Sig1.runningSum($Cond.merge(10s,true).removeLongerThan(3d)) merge() was used to get rid of all the capsules in $Cond and not it to reset before end of the condition. The reported number in the Sig 2 is not matching up the number of Sig1 if it is added manually such as data started at 3731, the next data point is 644 in Sig1. So. the second step in Sig 2 should be 4375, but runningSum() is calculating it as 8107. Any suggestion what can be done to correct it.
  5. Hello, I was wondering how to write formula (assume multiplication of two signals) that will work within a condition only (let say for the duration of Condition A) and will not compute anything outside of this condition. Thanks.
×
×
  • Create New...