The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here
Value Series: saving results of Extract Peak operator as macro / example set
I am doing a "Fourier Transformation" and use the "Extract Peak" operator of the Value Series extension.
My problem is: how do i get the peak values out of the series world, like saving the results as macros or in a "normal" example set? If I use "Series to Data" I only get the "Fourier Transformation", but not the result of the peak extraction which seem to be called "single values" or "single attributes".
Here is a little example:
<?xml version="1.0" encoding="UTF-8"?><process version="7.2.002">
<context>
<input/>
<output/>
<macros/>
</context>
<operator activated="true" class="process" compatibility="7.2.002" expanded="true" name="Process">
<parameter key="logverbosity" value="status"/>
<process expanded="true">
<operator activated="true" class="series:generate_series_sinus" compatibility="7.2.000" expanded="true" height="68" name="Generate Series (Sinus)" width="90" x="45" y="34">
<list key="frequency">
<parameter key="1000.0" value="1.0"/>
<parameter key="600.0" value="2.0"/>
</list>
</operator>
<operator activated="true" class="series:window_transformation" compatibility="7.2.000" expanded="true" height="68" name="Window Transformation (3)" width="90" x="179" y="34"/>
<operator activated="true" class="series:fast_fourier_transformation" compatibility="7.2.000" expanded="true" height="68" name="Fast Fourier Transformation (2)" width="90" x="313" y="34">
<parameter key="frequency_rescaling" value="true"/>
<parameter key="sample_rate" value="44100.0"/>
</operator>
<operator activated="true" class="series:extract_peak" compatibility="7.2.000" expanded="true" height="68" name="Extract Peak" width="90" x="447" y="34"/>
<connect from_op="Generate Series (Sinus)" from_port="output" to_op="Window Transformation (3)" to_port="series"/>
<connect from_op="Window Transformation (3)" from_port="series" to_op="Fast Fourier Transformation (2)" to_port="series"/>
<connect from_op="Fast Fourier Transformation (2)" from_port="series" to_op="Extract Peak" to_port="series"/>
<connect from_op="Extract Peak" from_port="series" to_port="result 1"/>
<portSpacing port="source_input 1" spacing="0"/>
<portSpacing port="sink_result 1" spacing="0"/>
<portSpacing port="sink_result 2" spacing="0"/>
</process>
</operator>
</process>
Thanks in advance. :-)
Tagged:
0
Answers
Just in case someone else is having that probem.
I did not find a solution using the "Data to Series" / "Series to Data" combination, but could solve it with "Process Series".
Had to transpose my Data for this operator and used "Extract Macro" to generate the needed End Attribute value.