    

 ## On this page

  

 

 # ansys::dpf::TimeFreqSupport Class Reference

 Last update: 16.07.2025 

Define a time/frequency set. [More...](classansys_1_1dpf_1_1TimeFreqSupport.xhtml#details)

`#include <dpf_api.h>`

Inheritance diagram for ansys::dpf::TimeFreqSupport:

 ![](/sites/default/files/migrate-content/dpf_cpp_client_library_2025_r1_1/classansys_1_1dpf_1_1TimeFreqSupport.png)



## <a id="pub-methods" name="pub-methods"></a>Public Member Functions

 [TimeFreqSupport](classansys_1_1dpf_1_1TimeFreqSupport.xhtml#a16e1c71584c44429329b23360b537630) ([Client](classansys_1_1dpf_1_1Client.xhtml) const \*const client)  [TimeFreqSupport](classansys_1_1dpf_1_1TimeFreqSupport.xhtml#a3122b8e5c405333882e1682efd125596) (int id, [Client](classansys_1_1dpf_1_1Client.xhtml) const \*const client) <a id="a7bdbb2d84f701cffd060879288bbe9be" name="a7bdbb2d84f701cffd060879288bbe9be"></a> **TimeFreqSupport** ([TimeFreqSupport](classansys_1_1dpf_1_1TimeFreqSupport.xhtml) const &amp;) <a id="afa5cdfa726a0af0a13c6e8ad30a5193a" name="afa5cdfa726a0af0a13c6e8ad30a5193a"></a> **TimeFreqSupport** ([TimeFreqSupport](classansys_1_1dpf_1_1TimeFreqSupport.xhtml) &amp;&amp;) noexcept <a id="a07bc20195f72ad854db1c75d86bbc650" name="a07bc20195f72ad854db1c75d86bbc650"></a>[TimeFreqSupport](classansys_1_1dpf_1_1TimeFreqSupport.xhtml) &amp; **operator=** ([TimeFreqSupport](classansys_1_1dpf_1_1TimeFreqSupport.xhtml) const &amp;) <a id="a5e294f5e0106f102b5392cc837a249fa" name="a5e294f5e0106f102b5392cc837a249fa"></a>[TimeFreqSupport](classansys_1_1dpf_1_1TimeFreqSupport.xhtml) &amp; **operator=** ([TimeFreqSupport](classansys_1_1dpf_1_1TimeFreqSupport.xhtml) &amp;&amp;) noexcept [dp\_int](namespaceansys_1_1dpf.xhtml#a60d181a1f9d29cc7cc38b25dac4401f0) [numberOfSets](classansys_1_1dpf_1_1TimeFreqSupport.xhtml#a87c577de73b5ba2260cf3f940ac43068) () const [dp\_int](namespaceansys_1_1dpf.xhtml#a60d181a1f9d29cc7cc38b25dac4401f0) [numberOfSteps](classansys_1_1dpf_1_1TimeFreqSupport.xhtml#a6b3cc037c0283450ac0234dadeddd1b6) () const [dp\_int](namespaceansys_1_1dpf.xhtml#a60d181a1f9d29cc7cc38b25dac4401f0) [numberOfSubStepsByStepIndex](classansys_1_1dpf_1_1TimeFreqSupport.xhtml#a4333cdbfac1c49f802a9c33a18970ed5) ([dp\_int](namespaceansys_1_1dpf.xhtml#a60d181a1f9d29cc7cc38b25dac4401f0) stepIndex) const [dp\_int](namespaceansys_1_1dpf.xhtml#a60d181a1f9d29cc7cc38b25dac4401f0) [numberOfSubStepsByStepId](classansys_1_1dpf_1_1TimeFreqSupport.xhtml#a190d202d30643f5ea398555b5dbea12b) ([dp\_int](namespaceansys_1_1dpf.xhtml#a60d181a1f9d29cc7cc38b25dac4401f0) stepId) const [dp\_int](namespaceansys_1_1dpf.xhtml#a60d181a1f9d29cc7cc38b25dac4401f0) [getSetIndexByStepIndexAndSubStep](classansys_1_1dpf_1_1TimeFreqSupport.xhtml#a018ae91fba33d3a61360c659a3fa49c8) ([dp\_int](namespaceansys_1_1dpf.xhtml#a60d181a1f9d29cc7cc38b25dac4401f0) step, [dp\_int](namespaceansys_1_1dpf.xhtml#a60d181a1f9d29cc7cc38b25dac4401f0) sub\_step) const [dp\_double](namespaceansys_1_1dpf.xhtml#acb480013bfed185b5e34a0bdcb0e3790) [getImaginaryFreqByStep](classansys_1_1dpf_1_1TimeFreqSupport.xhtml#a85a5cf293b3c72cdfa0668450aba6673) ([dp\_index](namespaceansys_1_1dpf.xhtml#a417548d1b705a9ba54ba9429afe68920) step, [dp\_index](namespaceansys_1_1dpf.xhtml#a417548d1b705a9ba54ba9429afe68920) sub\_step) const [dp\_double](namespaceansys_1_1dpf.xhtml#acb480013bfed185b5e34a0bdcb0e3790) [getTimeFreqByStep](classansys_1_1dpf_1_1TimeFreqSupport.xhtml#abb6ca8360c5db93383e00db82cfcfa3f) ([dp\_index](namespaceansys_1_1dpf.xhtml#a417548d1b705a9ba54ba9429afe68920) step, [dp\_index](namespaceansys_1_1dpf.xhtml#a417548d1b705a9ba54ba9429afe68920) sub\_step) const [dp\_int](namespaceansys_1_1dpf.xhtml#a60d181a1f9d29cc7cc38b25dac4401f0) [getImaginaryFreqSetIndexByValue](classansys_1_1dpf_1_1TimeFreqSupport.xhtml#afaa513e5f4410b3a5f2fee984f41065c) ([dp\_double](namespaceansys_1_1dpf.xhtml#acb480013bfed185b5e34a0bdcb0e3790) frequency) const [dp\_int](namespaceansys_1_1dpf.xhtml#a60d181a1f9d29cc7cc38b25dac4401f0) [getSetIndexByTimeFreq](classansys_1_1dpf_1_1TimeFreqSupport.xhtml#a85e297af28a24a226cff64338b1a6326) ([dp\_double](namespaceansys_1_1dpf.xhtml#acb480013bfed185b5e34a0bdcb0e3790) frequency) const std::pair&lt; [dp\_id](namespaceansys_1_1dpf.xhtml#ab4574c9af3f2bb8011da7d1f4c8da20e), [dp\_index](namespaceansys_1_1dpf.xhtml#a417548d1b705a9ba54ba9429afe68920) &gt; [getStepAndSubStep](classansys_1_1dpf_1_1TimeFreqSupport.xhtml#a9596196456260be8d2899952dff29c64) (int cumulative\_index) const [Field](classansys_1_1dpf_1_1Field.xhtml) [frequencies](classansys_1_1dpf_1_1TimeFreqSupport.xhtml#aa0cf046a80d328f966892abe85308f01) () const [Field](classansys_1_1dpf_1_1Field.xhtml) [imaginaryFrequencies](classansys_1_1dpf_1_1TimeFreqSupport.xhtml#a21319848f5f197398148551cbb74d4a0) () const [Field](classansys_1_1dpf_1_1Field.xhtml) [rpms](classansys_1_1dpf_1_1TimeFreqSupport.xhtml#aa2e1dacc70c07e6d6ba401748e3d822e) () const [Field](classansys_1_1dpf_1_1Field.xhtml) [harmonicIndeces](classansys_1_1dpf_1_1TimeFreqSupport.xhtml#a101268a027373331f52244f52eb8b0d1) ([dp\_int](namespaceansys_1_1dpf.xhtml#a60d181a1f9d29cc7cc38b25dac4401f0) stage=0) const [PropertyField](classansys_1_1dpf_1_1PropertyField.xhtml) [timeFrequenciesSubstepIds](classansys_1_1dpf_1_1TimeFreqSupport.xhtml#ae138ce323b476464e3e114750eb5d686) () const [Scoping](classansys_1_1dpf_1_1Scoping.xhtml) [harmonicIndicesScoping](classansys_1_1dpf_1_1TimeFreqSupport.xhtml#a4428c07ba03b6cf3dc65279cf8f2c08f) () const [dp\_int](namespaceansys_1_1dpf.xhtml#a60d181a1f9d29cc7cc38b25dac4401f0) [numberOfSingularSets](classansys_1_1dpf_1_1TimeFreqSupport.xhtml#aee5b3fa99be60b203563cf58f2a78321) () const void [setTimeFrequencies](classansys_1_1dpf_1_1TimeFreqSupport.xhtml#aa01a23bf27be8e42ce3ec1da5e0ddcbe) ([Field](classansys_1_1dpf_1_1Field.xhtml) field) void [setImaginaryFrequencies](classansys_1_1dpf_1_1TimeFreqSupport.xhtml#a934891bcade52745e6e80b7bf74193cf) ([Field](classansys_1_1dpf_1_1Field.xhtml) field) void [setRpms](classansys_1_1dpf_1_1TimeFreqSupport.xhtml#a855a9819d41665a1d9177fd8f67fa3f1) ([Field](classansys_1_1dpf_1_1Field.xhtml) field) void [setHarmonicIndices](classansys_1_1dpf_1_1TimeFreqSupport.xhtml#a233c06f8d1967b7254dcf96df613e359) ([Field](classansys_1_1dpf_1_1Field.xhtml) field, [dp\_int](namespaceansys_1_1dpf.xhtml#a60d181a1f9d29cc7cc38b25dac4401f0) stage=0) std::pair&lt; [dp\_int](namespaceansys_1_1dpf.xhtml#a60d181a1f9d29cc7cc38b25dac4401f0), [dp\_int](namespaceansys_1_1dpf.xhtml#a60d181a1f9d29cc7cc38b25dac4401f0) &gt; [boundingCumulativeIndecesOfTimeFreq](classansys_1_1dpf_1_1TimeFreqSupport.xhtml#ab4822e8cee3be5c03badce0e4cea3991) (double time\_freq, int loadstep=0) const [dp\_double](namespaceansys_1_1dpf.xhtml#acb480013bfed185b5e34a0bdcb0e3790) [timeFreq](classansys_1_1dpf_1_1TimeFreqSupport.xhtml#a15d6bc620aadd070c1bb027a075ce0cd) ([dp\_int](namespaceansys_1_1dpf.xhtml#a60d181a1f9d29cc7cc38b25dac4401f0) cumul\_index, [dp\_int](namespaceansys_1_1dpf.xhtml#a60d181a1f9d29cc7cc38b25dac4401f0) complex\_id=0) const [TimeFreqSupport](classansys_1_1dpf_1_1TimeFreqSupport.xhtml) [deep\_copy](classansys_1_1dpf_1_1TimeFreqSupport.xhtml#a3addff6333f65b2ea810d7033315ac1c) ([ansys::dpf::Client](classansys_1_1dpf_1_1Client.xhtml) const \*const client=nullptr) const ![-](/sites/default/files/migrate-content/dpf_cpp_client_library_2025_r1_1/closed.png) Public Member Functions inherited from [ansys::dpf::DpfTypes](classansys_1_1dpf_1_1DpfTypes.xhtml)virtual bool [empty](classansys_1_1dpf_1_1DpfTypes.xhtml#a39cd546c42518e2332be8f287db95459) () const virtual bool [hasInternalObject](classansys_1_1dpf_1_1DpfTypes.xhtml#ae198f89868d85c7db6dc1a934a1d3c15) () const virtual std::string [describe](classansys_1_1dpf_1_1DpfTypes.xhtml#a9977945710983bc03d2940fa007847b2) () const so::API const \* [callAPI](classansys_1_1dpf_1_1DpfTypes.xhtml#aea34d37e0c080126eff70db34bf46597) () const bool [isOnCommonAPI](classansys_1_1dpf_1_1DpfTypes.xhtml#a9f9789ff61cc9d400a2a344830706b73) () const bool [getClient](classansys_1_1dpf_1_1DpfTypes.xhtml#a968afd9daa0b0f13b65a2ac61369d73a) ([Client](classansys_1_1dpf_1_1Client.xhtml) &amp;client) const bool [hasBeenMovedLocally](classansys_1_1dpf_1_1DpfTypes.xhtml#a1a5634202c15404b6b24e8f50e51cb66) () const bool [isSameObject](classansys_1_1dpf_1_1DpfTypes.xhtml#aa64d5f8fcd7d85ad6ebf708494dbefd7) ([DpfTypes](classansys_1_1dpf_1_1DpfTypes.xhtml) const &amp;rhs) const ## <a id="pub-static-methods" name="pub-static-methods"></a>Static Public Member Functions

<a id="a7e75bb0b6e75fce04a882b70f9a48c17" name="a7e75bb0b6e75fce04a882b70f9a48c17"></a>static [TimeFreqSupport](classansys_1_1dpf_1_1TimeFreqSupport.xhtml) **emptyTimeFreqSupport** () <a id="details" name="details"></a>## Detailed Description

Define a time/frequency set.

The time freq support describes an analysis' temporal or frequential space. For a transient analysis all the time sets cumulatives indices with their times are described. For a harmonic analysis, the real and imaginary frequencies, the RPMs, the load steps are described.

Examples[CompleteRST.cpp](CompleteRST_8cpp-example.xhtml#_a25), [DataApis.cpp](DataApis_8cpp-example.xhtml#_a74), [DataExport.cpp](DataExport_8cpp-example.xhtml#_a3), [ModelTest.cpp](ModelTest_8cpp-example.xhtml#_a11), and [WorkflowExamples.cpp](WorkflowExamples_8cpp-example.xhtml#_a16).

## Constructor &amp; Destructor Documentation

<a id="a16e1c71584c44429329b23360b537630" name="a16e1c71584c44429329b23360b537630"></a>## [◆ ](#a16e1c71584c44429329b23360b537630)TimeFreqSupport() \[1/2\]

 ansys::dpf::TimeFreqSupport::TimeFreqSupport  ( [Client](classansys_1_1dpf_1_1Client.xhtml) const \*const  *client*) 

Create a new [TimeFreqSupport](classansys_1_1dpf_1_1TimeFreqSupport.xhtml "Define a time/frequency set.") on a server.

Parameters \[in\]client[Client](classansys_1_1dpf_1_1Client.xhtml) instance designating the IP, port and protocol to use. 



<a id="a3122b8e5c405333882e1682efd125596" name="a3122b8e5c405333882e1682efd125596"></a>## [◆ ](#a3122b8e5c405333882e1682efd125596)TimeFreqSupport() \[2/2\]

 ansys::dpf::TimeFreqSupport::TimeFreqSupport  ( int  *id*,    [Client](classansys_1_1dpf_1_1Client.xhtml) const \*const  *client*   ) 

Retrieve an existing instance of [TimeFreqSupport](classansys_1_1dpf_1_1TimeFreqSupport.xhtml "Define a time/frequency set.") on a server.

Parameters \[in\]idId of the [TimeFreqSupport](classansys_1_1dpf_1_1TimeFreqSupport.xhtml "Define a time/frequency set.") object on the server's database. \[in\]client[Client](classansys_1_1dpf_1_1Client.xhtml) instance designating the IP, port and protocol to use. 



## Member Function Documentation

<a id="ab4822e8cee3be5c03badce0e4cea3991" name="ab4822e8cee3be5c03badce0e4cea3991"></a>## [◆ ](#ab4822e8cee3be5c03badce0e4cea3991)boundingCumulativeIndecesOfTimeFreq()

 std::pair&lt; [dp\_int](namespaceansys_1_1dpf.xhtml#a60d181a1f9d29cc7cc38b25dac4401f0), [dp\_int](namespaceansys_1_1dpf.xhtml#a60d181a1f9d29cc7cc38b25dac4401f0) &gt; ansys::dpf::TimeFreqSupport::boundingCumulativeIndecesOfTimeFreq  ( double  *time\_freq*,    int  *loadstep* = `0`   )  const

ReturnsBounding indices for given time time frequency and load step. Parameters \[in\]time\_freqTime frequency for which to find bounding indices. \[in\]loadstepOptional load step. 



<a id="a3addff6333f65b2ea810d7033315ac1c" name="a3addff6333f65b2ea810d7033315ac1c"></a>## [◆ ](#a3addff6333f65b2ea810d7033315ac1c)deep\_copy()

 [TimeFreqSupport](classansys_1_1dpf_1_1TimeFreqSupport.xhtml) ansys::dpf::TimeFreqSupport::deep\_copy  ( [ansys::dpf::Client](classansys_1_1dpf_1_1Client.xhtml) const \*const  *client* = `nullptr`)  const

Create a new [TimeFreqSupport](classansys_1_1dpf_1_1TimeFreqSupport.xhtml "Define a time/frequency set.") on a server by copying all the data of this [TimeFreqSupport](classansys_1_1dpf_1_1TimeFreqSupport.xhtml "Define a time/frequency set.").

Parameters \[in\]client[Client](classansys_1_1dpf_1_1Client.xhtml) instance designating the IP, port and protocol to use. 



<a id="aa0cf046a80d328f966892abe85308f01" name="aa0cf046a80d328f966892abe85308f01"></a>## [◆ ](#aa0cf046a80d328f966892abe85308f01)frequencies()

 [Field](classansys_1_1dpf_1_1Field.xhtml) ansys::dpf::TimeFreqSupport::frequencies  ( )  const

Returns[Field](classansys_1_1dpf_1_1Field.xhtml) associated with time frequency. Examples[DataApis.cpp](DataApis_8cpp-example.xhtml#a81), [DataExport.cpp](DataExport_8cpp-example.xhtml#a46), [ModelTest.cpp](ModelTest_8cpp-example.xhtml#a30), and [WorkflowExamples.cpp](WorkflowExamples_8cpp-example.xhtml#a17).



<a id="a85a5cf293b3c72cdfa0668450aba6673" name="a85a5cf293b3c72cdfa0668450aba6673"></a>## [◆ ](#a85a5cf293b3c72cdfa0668450aba6673)getImaginaryFreqByStep()

 [dp\_double](namespaceansys_1_1dpf.xhtml#acb480013bfed185b5e34a0bdcb0e3790) ansys::dpf::TimeFreqSupport::getImaginaryFreqByStep  ( [dp\_index](namespaceansys_1_1dpf.xhtml#a417548d1b705a9ba54ba9429afe68920)  *step*,    [dp\_index](namespaceansys_1_1dpf.xhtml#a417548d1b705a9ba54ba9429afe68920)  *sub\_step*   )  const

Returnsimaginary frequency at a given step index and substep indices. Parameters \[in\]stepstep index (0 based). \[in\]sub\_stepsub\_step index (0 based). 



<a id="afaa513e5f4410b3a5f2fee984f41065c" name="afaa513e5f4410b3a5f2fee984f41065c"></a>## [◆ ](#afaa513e5f4410b3a5f2fee984f41065c)getImaginaryFreqSetIndexByValue()

 [dp\_int](namespaceansys_1_1dpf.xhtml#a60d181a1f9d29cc7cc38b25dac4401f0) ansys::dpf::TimeFreqSupport::getImaginaryFreqSetIndexByValue  ( [dp\_double](namespaceansys_1_1dpf.xhtml#acb480013bfed185b5e34a0bdcb0e3790)  *frequency*)  const

Returnsset index (0 based) for given imaginary frequency. 



<a id="a018ae91fba33d3a61360c659a3fa49c8" name="a018ae91fba33d3a61360c659a3fa49c8"></a>## [◆ ](#a018ae91fba33d3a61360c659a3fa49c8)getSetIndexByStepIndexAndSubStep()

 [dp\_int](namespaceansys_1_1dpf.xhtml#a60d181a1f9d29cc7cc38b25dac4401f0) ansys::dpf::TimeFreqSupport::getSetIndexByStepIndexAndSubStep  ( [dp\_int](namespaceansys_1_1dpf.xhtml#a60d181a1f9d29cc7cc38b25dac4401f0)  *step*,    [dp\_int](namespaceansys_1_1dpf.xhtml#a60d181a1f9d29cc7cc38b25dac4401f0)  *sub\_step*   )  const

Returnsset index (0 based) at a given step index and substep index. Examples[ModelTest.cpp](ModelTest_8cpp-example.xhtml#a34).



<a id="a85e297af28a24a226cff64338b1a6326" name="a85e297af28a24a226cff64338b1a6326"></a>## [◆ ](#a85e297af28a24a226cff64338b1a6326)getSetIndexByTimeFreq()

 [dp\_int](namespaceansys_1_1dpf.xhtml#a60d181a1f9d29cc7cc38b25dac4401f0) ansys::dpf::TimeFreqSupport::getSetIndexByTimeFreq  ( [dp\_double](namespaceansys_1_1dpf.xhtml#acb480013bfed185b5e34a0bdcb0e3790)  *frequency*)  const

Returnsset index (0 based) for given time frequency. 



<a id="a9596196456260be8d2899952dff29c64" name="a9596196456260be8d2899952dff29c64"></a>## [◆ ](#a9596196456260be8d2899952dff29c64)getStepAndSubStep()

 std::pair&lt; [dp\_id](namespaceansys_1_1dpf.xhtml#ab4574c9af3f2bb8011da7d1f4c8da20e), [dp\_index](namespaceansys_1_1dpf.xhtml#a417548d1b705a9ba54ba9429afe68920) &gt; ansys::dpf::TimeFreqSupport::getStepAndSubStep  ( int  *cumulative\_index*)  const

Returnsstep index and substep at a given set index (0 based). 



<a id="abb6ca8360c5db93383e00db82cfcfa3f" name="abb6ca8360c5db93383e00db82cfcfa3f"></a>## [◆ ](#abb6ca8360c5db93383e00db82cfcfa3f)getTimeFreqByStep()

 [dp\_double](namespaceansys_1_1dpf.xhtml#acb480013bfed185b5e34a0bdcb0e3790) ansys::dpf::TimeFreqSupport::getTimeFreqByStep  ( [dp\_index](namespaceansys_1_1dpf.xhtml#a417548d1b705a9ba54ba9429afe68920)  *step*,    [dp\_index](namespaceansys_1_1dpf.xhtml#a417548d1b705a9ba54ba9429afe68920)  *sub\_step*   )  const

Returnstime frequency at a given step index and substep indices. Parameters \[in\]stepstep index (0 based). \[in\]sub\_stepsub\_step index (0 based). 



<a id="a101268a027373331f52244f52eb8b0d1" name="a101268a027373331f52244f52eb8b0d1"></a>## [◆ ](#a101268a027373331f52244f52eb8b0d1)harmonicIndeces()

 [Field](classansys_1_1dpf_1_1Field.xhtml) ansys::dpf::TimeFreqSupport::harmonicIndeces  ( [dp\_int](namespaceansys_1_1dpf.xhtml#a60d181a1f9d29cc7cc38b25dac4401f0)  *stage* = `0`)  const

ReturnsHarmonic indices associated with time frequency. Examples[ModelTest.cpp](ModelTest_8cpp-example.xhtml#a32).



<a id="a4428c07ba03b6cf3dc65279cf8f2c08f" name="a4428c07ba03b6cf3dc65279cf8f2c08f"></a>## [◆ ](#a4428c07ba03b6cf3dc65279cf8f2c08f)harmonicIndicesScoping()

 [Scoping](classansys_1_1dpf_1_1Scoping.xhtml) ansys::dpf::TimeFreqSupport::harmonicIndicesScoping  ( )  const

Returns[Scoping](classansys_1_1dpf_1_1Scoping.xhtml "Define a set of entities by ids.") containing all the stage numbers of the [TimeFreqSupport](classansys_1_1dpf_1_1TimeFreqSupport.xhtml "Define a time/frequency set."). 



<a id="a21319848f5f197398148551cbb74d4a0" name="a21319848f5f197398148551cbb74d4a0"></a>## [◆ ](#a21319848f5f197398148551cbb74d4a0)imaginaryFrequencies()

 [Field](classansys_1_1dpf_1_1Field.xhtml) ansys::dpf::TimeFreqSupport::imaginaryFrequencies  ( )  const

Returns[Field](classansys_1_1dpf_1_1Field.xhtml) associated with imaginary part of time frequency. 



<a id="a87c577de73b5ba2260cf3f940ac43068" name="a87c577de73b5ba2260cf3f940ac43068"></a>## [◆ ](#a87c577de73b5ba2260cf3f940ac43068)numberOfSets()

 [dp\_int](namespaceansys_1_1dpf.xhtml#a60d181a1f9d29cc7cc38b25dac4401f0) ansys::dpf::TimeFreqSupport::numberOfSets  ( )  const

ReturnsNumber of time frequency sets. Examples[CompleteRST.cpp](CompleteRST_8cpp-example.xhtml#a27), [DataApis.cpp](DataApis_8cpp-example.xhtml#a80), [DataExport.cpp](DataExport_8cpp-example.xhtml#a47), and [ModelTest.cpp](ModelTest_8cpp-example.xhtml#a13).



<a id="aee5b3fa99be60b203563cf58f2a78321" name="aee5b3fa99be60b203563cf58f2a78321"></a>## [◆ ](#aee5b3fa99be60b203563cf58f2a78321)numberOfSingularSets()

 [dp\_int](namespaceansys_1_1dpf.xhtml#a60d181a1f9d29cc7cc38b25dac4401f0) ansys::dpf::TimeFreqSupport::numberOfSingularSets  ( )  const

ReturnsNumber of unique time frequency entries. 



<a id="a6b3cc037c0283450ac0234dadeddd1b6" name="a6b3cc037c0283450ac0234dadeddd1b6"></a>## [◆ ](#a6b3cc037c0283450ac0234dadeddd1b6)numberOfSteps()

 [dp\_int](namespaceansys_1_1dpf.xhtml#a60d181a1f9d29cc7cc38b25dac4401f0) ansys::dpf::TimeFreqSupport::numberOfSteps  ( )  const

ReturnsNumber of steps. Examples[ModelTest.cpp](ModelTest_8cpp-example.xhtml#a29).



<a id="a190d202d30643f5ea398555b5dbea12b" name="a190d202d30643f5ea398555b5dbea12b"></a>## [◆ ](#a190d202d30643f5ea398555b5dbea12b)numberOfSubStepsByStepId()

 [dp\_int](namespaceansys_1_1dpf.xhtml#a60d181a1f9d29cc7cc38b25dac4401f0) ansys::dpf::TimeFreqSupport::numberOfSubStepsByStepId  ( [dp\_int](namespaceansys_1_1dpf.xhtml#a60d181a1f9d29cc7cc38b25dac4401f0)  *stepId*)  const

ReturnsNumber of sub steps for a given step id. 



<a id="a4333cdbfac1c49f802a9c33a18970ed5" name="a4333cdbfac1c49f802a9c33a18970ed5"></a>## [◆ ](#a4333cdbfac1c49f802a9c33a18970ed5)numberOfSubStepsByStepIndex()

 [dp\_int](namespaceansys_1_1dpf.xhtml#a60d181a1f9d29cc7cc38b25dac4401f0) ansys::dpf::TimeFreqSupport::numberOfSubStepsByStepIndex  ( [dp\_int](namespaceansys_1_1dpf.xhtml#a60d181a1f9d29cc7cc38b25dac4401f0)  *stepIndex*)  const

ReturnsNumber of sub steps for a given step index (0 based). Examples[ModelTest.cpp](ModelTest_8cpp-example.xhtml#a33).



<a id="aa2e1dacc70c07e6d6ba401748e3d822e" name="aa2e1dacc70c07e6d6ba401748e3d822e"></a>## [◆ ](#aa2e1dacc70c07e6d6ba401748e3d822e)rpms()

 [Field](classansys_1_1dpf_1_1Field.xhtml) ansys::dpf::TimeFreqSupport::rpms  ( )  const

ReturnsRPMS associated with time frequency. 



<a id="a233c06f8d1967b7254dcf96df613e359" name="a233c06f8d1967b7254dcf96df613e359"></a>## [◆ ](#a233c06f8d1967b7254dcf96df613e359)setHarmonicIndices()

 void ansys::dpf::TimeFreqSupport::setHarmonicIndices  ( [Field](classansys_1_1dpf_1_1Field.xhtml)  *field*,    [dp\_int](namespaceansys_1_1dpf.xhtml#a60d181a1f9d29cc7cc38b25dac4401f0)  *stage* = `0`   ) 

Set harmonic indices of time frequency support from given field for a specified stage.

Parameters \[in\]field[Field](classansys_1_1dpf_1_1Field.xhtml "Data for an entity.") from which to set imaginary part of time frequency. \[in\]stageOptional stage number (default is 0). Examples[DataApis.cpp](DataApis_8cpp-example.xhtml#a79).



<a id="a934891bcade52745e6e80b7bf74193cf" name="a934891bcade52745e6e80b7bf74193cf"></a>## [◆ ](#a934891bcade52745e6e80b7bf74193cf)setImaginaryFrequencies()

 void ansys::dpf::TimeFreqSupport::setImaginaryFrequencies  ( [Field](classansys_1_1dpf_1_1Field.xhtml)  *field*) 

Set imaginary part of time frequency from given field.

Parameters \[in\]field[Field](classansys_1_1dpf_1_1Field.xhtml "Data for an entity.") from which to set imaginary part of time frequency. 



<a id="a855a9819d41665a1d9177fd8f67fa3f1" name="a855a9819d41665a1d9177fd8f67fa3f1"></a>## [◆ ](#a855a9819d41665a1d9177fd8f67fa3f1)setRpms()

 void ansys::dpf::TimeFreqSupport::setRpms  ( [Field](classansys_1_1dpf_1_1Field.xhtml)  *field*) 

Set rpms of time frequency support from given field.

Parameters \[in\]field[Field](classansys_1_1dpf_1_1Field.xhtml "Data for an entity.") from which to set imaginary part of time frequency. Examples[DataApis.cpp](DataApis_8cpp-example.xhtml#a78).



<a id="aa01a23bf27be8e42ce3ec1da5e0ddcbe" name="aa01a23bf27be8e42ce3ec1da5e0ddcbe"></a>## [◆ ](#aa01a23bf27be8e42ce3ec1da5e0ddcbe)setTimeFrequencies()

 void ansys::dpf::TimeFreqSupport::setTimeFrequencies  ( [Field](classansys_1_1dpf_1_1Field.xhtml)  *field*) 

Set time frequency from given field.

Parameters \[in\]field[Field](classansys_1_1dpf_1_1Field.xhtml "Data for an entity.") from which to set time frequency. Examples[DataApis.cpp](DataApis_8cpp-example.xhtml#a77), and [DataExport.cpp](DataExport_8cpp-example.xhtml#a23).



<a id="a15d6bc620aadd070c1bb027a075ce0cd" name="a15d6bc620aadd070c1bb027a075ce0cd"></a>## [◆ ](#a15d6bc620aadd070c1bb027a075ce0cd)timeFreq()

 [dp\_double](namespaceansys_1_1dpf.xhtml#acb480013bfed185b5e34a0bdcb0e3790) ansys::dpf::TimeFreqSupport::timeFreq  ( [dp\_int](namespaceansys_1_1dpf.xhtml#a60d181a1f9d29cc7cc38b25dac4401f0)  *cumul\_index*,    [dp\_int](namespaceansys_1_1dpf.xhtml#a60d181a1f9d29cc7cc38b25dac4401f0)  *complex\_id* = `0`   )  const

ReturnsTime/Frequency for given index. Parameters \[in\]cumul\_indexIndex for which to get time frequency. \[in\]complex\_idOptional non-zero indicates to get imaginary part of time frequency. Examples[ModelTest.cpp](ModelTest_8cpp-example.xhtml#a35).



<a id="ae138ce323b476464e3e114750eb5d686" name="ae138ce323b476464e3e114750eb5d686"></a>## [◆ ](#ae138ce323b476464e3e114750eb5d686)timeFrequenciesSubstepIds()

 [PropertyField](classansys_1_1dpf_1_1PropertyField.xhtml) ansys::dpf::TimeFreqSupport::timeFrequenciesSubstepIds  ( )  const

Returnssubstep id associated with time frequency.