How to preserve scaling when splitting a 2D wave into 2 1D waves?
pmazzoni
I have a 2D wave, Accelerometer, with 3 columns with scaling (dimDelta) 0.0071825. The splitwave command yield the three columns as individual waves, Accelerometer0, Accelerometer1, Accelerometer2. However, the scaling does not carry over: the dimDelta of the 1-column waves is 1. Is there a flag for splitwave, or another method that replicates the behavior of "Duplicate" for multidimensional waves? I tried duplicate Accelerometer[][0], Accelerometer0, but this syntax is not accepted.
You can use the CopyScales operation as needed.
IP10 has a new flag /SCL that performs the equivalent.
May 23, 2024 at 02:19 pm - Permalink
You can also use the RMD flag for duplicate:
Duplicate/RMD=[][0] Accelerometer, Accelerometer0
Note that the output wave then is still, strictly speaking, 2D (x rows, 1 column). If you want to reduce the data to 'pure' 1D you need to call Redimension afterwards:
Redimension/N=(-1,0) Accelerometer0
May 23, 2024 at 08:29 pm - Permalink
In reply to You can use the CopyScales… by Igor
When should we expect IP10?
May 24, 2024 at 05:02 am - Permalink
Thanks Igor and Chozo. Both methods did the job for me. I forgot to come back and thank you.
June 12, 2024 at 12:50 pm - Permalink