4.4.22 Unstack by Time Interval

From Origin 2024b, it supports Unstack by Time Interval tool to unstack dataset based on the specified time interval.

To open this tool, with a workbook window activated,

  • Select Restructure : Unstack by Time Interval... menu;

Or

  • Run wtsunstack -d; in Script Window or Command Window.

This tool utilizes the wtsunstack X-Function.

Unstack by Time Interval 01.png


Dialog Options

Recalculate Specify the Recalculate Mode.
  • None
  • Auto
  • Manual
Source Time Specify the range that will be used as the time source of Time Interval
Source Data Specify the range of data values to be unstacked.
Time Interval Options:
  • Year
  • Month
  • Week
  • Day
  • Hour
  • Minute
Start Value Specify the start time value for each unstacked group.
  • When select Year as Time Interval, you can set the specified date as the start value. Format: MM/dd or JAN or 1(number of month).
  • When select Month as Time Interval, you can set the specified day of month as the start value. Format: 1-28.
  • When select Week as Time Interval, you can set the specified day of week index as the start value. Format:1-7.
  • When select Day as Time Interval, you can set the specified hour and minute as the start value. Format: HH:mm (13:00), 13, 1pm .
  • When select Hour as Time Interval, you can set the specified minute and second as the start value. Format: mm:ss.
  • When select Minute as Time Interval, you can set the specified number of seconds as the start value. Format: 0-60.
End Value Specify the end time value for each unstacked group. The format similar as Start Value.
  • When select Year as Time Interval, you can set the specified date as the end value. Format: MM/dd or JAN or 1(number of month).
  • When select Month as Time Interval, you can set the specified day of month as the end value. Format: 1-31.
  • When select Week as Time Interval, you can set the specified day of week index as the end value. Format:1-7.
  • When select Day as Time Interval, you can set the specified hour and minute as the end value. Format: HH:mm (13:00), 13, 1pm .
  • When select Hour as Time Interval, you can set the specified minute and second as the end value. Format: mm:ss.
  • When select Minute as Time Interval, you can set the specified number of seconds as the end value. Format: 0-60.
Output Worksheet Specify where to output result table.
Additional Label Row(s) Add Label Rows for the year/ month/ date/ hour/ minute etc. value.
Output Date/Time Column Format Select the format of Date/Time Column in the dropdown list.

Unstack by Time Interval 02.png