> ## Documentation Index
> Fetch the complete documentation index at: https://developer.synopsys.com/llms.txt
> Use this file to discover all available pages before exploring further.

# ansys::dpf::TimeFreqSupport Class Reference

Define a time/frequency set.

`#include <dpf_api.h>`

Inheritance diagram for ansys::dpf::TimeFreqSupport:

![](https://mintcdn.com/synopsys-00a47cbc/Srh1_f--TdKCLyqD/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1TimeFreqSupport.png?fit=max\&auto=format\&n=Srh1_f--TdKCLyqD\&q=85\&s=e577c733e0df85cb1f126756ae769f71)

## Public Member Functions

| Type | Name |
| - | - |
| | [TimeFreqSupport](#a16e1c71584c44429329b23360b537630) ([Client](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1Client.md) const \*const client) |
| | [TimeFreqSupport](#a3122b8e5c405333882e1682efd125596) (int id, [Client](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1Client.md) const \*const client) |
| | **TimeFreqSupport** ([TimeFreqSupport](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1TimeFreqSupport.md) const &) |
| | **TimeFreqSupport** ([TimeFreqSupport](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1TimeFreqSupport.md) &&) noexcept |
| [TimeFreqSupport](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1TimeFreqSupport.md) & | **operator=** ([TimeFreqSupport](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1TimeFreqSupport.md) const &) |
| [TimeFreqSupport](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1TimeFreqSupport.md) & | **operator=** ([TimeFreqSupport](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1TimeFreqSupport.md) &&) noexcept |
| [dp\_int](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/namespaceansys_1_1dpf#a60d181a1f9d29cc7cc38b25dac4401f0) | [numberOfSets](#a87c577de73b5ba2260cf3f940ac43068) () const |
| [dp\_int](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/namespaceansys_1_1dpf#a60d181a1f9d29cc7cc38b25dac4401f0) | [numberOfSteps](#a6b3cc037c0283450ac0234dadeddd1b6) () const |
| [dp\_int](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/namespaceansys_1_1dpf#a60d181a1f9d29cc7cc38b25dac4401f0) | [numberOfSubStepsByStepIndex](#a4333cdbfac1c49f802a9c33a18970ed5) ([dp\_int](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/namespaceansys_1_1dpf#a60d181a1f9d29cc7cc38b25dac4401f0) stepIndex) const |
| [dp\_int](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/namespaceansys_1_1dpf#a60d181a1f9d29cc7cc38b25dac4401f0) | [numberOfSubStepsByStepId](#a190d202d30643f5ea398555b5dbea12b) ([dp\_int](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/namespaceansys_1_1dpf#a60d181a1f9d29cc7cc38b25dac4401f0) stepId) const |
| [dp\_int](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/namespaceansys_1_1dpf#a60d181a1f9d29cc7cc38b25dac4401f0) | [getSetIndexByStepIndexAndSubStep](#a018ae91fba33d3a61360c659a3fa49c8) ([dp\_int](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/namespaceansys_1_1dpf#a60d181a1f9d29cc7cc38b25dac4401f0) step, [dp\_int](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/namespaceansys_1_1dpf#a60d181a1f9d29cc7cc38b25dac4401f0) sub\_step) const |
| [dp\_double](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/namespaceansys_1_1dpf#acb480013bfed185b5e34a0bdcb0e3790) | [getImaginaryFreqByStep](#a85a5cf293b3c72cdfa0668450aba6673) ([dp\_index](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/namespaceansys_1_1dpf#a417548d1b705a9ba54ba9429afe68920) step, [dp\_index](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/namespaceansys_1_1dpf#a417548d1b705a9ba54ba9429afe68920) sub\_step) const |
| [dp\_double](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/namespaceansys_1_1dpf#acb480013bfed185b5e34a0bdcb0e3790) | [getTimeFreqByStep](#abb6ca8360c5db93383e00db82cfcfa3f) ([dp\_index](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/namespaceansys_1_1dpf#a417548d1b705a9ba54ba9429afe68920) step, [dp\_index](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/namespaceansys_1_1dpf#a417548d1b705a9ba54ba9429afe68920) sub\_step) const |
| [dp\_int](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/namespaceansys_1_1dpf#a60d181a1f9d29cc7cc38b25dac4401f0) | [getImaginaryFreqSetIndexByValue](#afaa513e5f4410b3a5f2fee984f41065c) ([dp\_double](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/namespaceansys_1_1dpf#acb480013bfed185b5e34a0bdcb0e3790) frequency) const |
| [dp\_int](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/namespaceansys_1_1dpf#a60d181a1f9d29cc7cc38b25dac4401f0) | [getSetIndexByTimeFreq](#a85e297af28a24a226cff64338b1a6326) ([dp\_double](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/namespaceansys_1_1dpf#acb480013bfed185b5e34a0bdcb0e3790) frequency) const |
| std::pair\< [dp\_id](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/namespaceansys_1_1dpf#ab4574c9af3f2bb8011da7d1f4c8da20e), [dp\_index](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/namespaceansys_1_1dpf#a417548d1b705a9ba54ba9429afe68920) > | [getStepAndSubStep](#a9596196456260be8d2899952dff29c64) (int cumulative\_index) const |
| [Field](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1Field.md) | [frequencies](#aa0cf046a80d328f966892abe85308f01) () const |
| [Field](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1Field.md) | [imaginaryFrequencies](#a21319848f5f197398148551cbb74d4a0) () const |
| [Field](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1Field.md) | [rpms](#aa2e1dacc70c07e6d6ba401748e3d822e) () const |
| [Field](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1Field.md) | [harmonicIndeces](#a101268a027373331f52244f52eb8b0d1) ([dp\_int](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/namespaceansys_1_1dpf#a60d181a1f9d29cc7cc38b25dac4401f0) stage=0) const |
| [PropertyField](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1PropertyField.md) | [timeFrequenciesSubstepIds](#ae138ce323b476464e3e114750eb5d686) () const |
| [Scoping](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1Scoping.md) | [harmonicIndicesScoping](#a4428c07ba03b6cf3dc65279cf8f2c08f) () const |
| [dp\_int](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/namespaceansys_1_1dpf#a60d181a1f9d29cc7cc38b25dac4401f0) | [numberOfSingularSets](#aee5b3fa99be60b203563cf58f2a78321) () const |
| void | [setTimeFrequencies](#aa01a23bf27be8e42ce3ec1da5e0ddcbe) ([Field](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1Field.md) field) |
| void | [setImaginaryFrequencies](#a934891bcade52745e6e80b7bf74193cf) ([Field](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1Field.md) field) |
| void | [setRpms](#a855a9819d41665a1d9177fd8f67fa3f1) ([Field](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1Field.md) field) |
| void | [setHarmonicIndices](#a233c06f8d1967b7254dcf96df613e359) ([Field](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1Field.md) field, [dp\_int](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/namespaceansys_1_1dpf#a60d181a1f9d29cc7cc38b25dac4401f0) stage=0) |
| std::pair\< [dp\_int](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/namespaceansys_1_1dpf#a60d181a1f9d29cc7cc38b25dac4401f0), [dp\_int](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/namespaceansys_1_1dpf#a60d181a1f9d29cc7cc38b25dac4401f0) > | [boundingCumulativeIndecesOfTimeFreq](#ab4822e8cee3be5c03badce0e4cea3991) (double time\_freq, int loadstep=0) const |
| [dp\_double](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/namespaceansys_1_1dpf#acb480013bfed185b5e34a0bdcb0e3790) | [timeFreq](#a15d6bc620aadd070c1bb027a075ce0cd) ([dp\_int](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/namespaceansys_1_1dpf#a60d181a1f9d29cc7cc38b25dac4401f0) cumul\_index, [dp\_int](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/namespaceansys_1_1dpf#a60d181a1f9d29cc7cc38b25dac4401f0) complex\_id=0) const |
| [TimeFreqSupport](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1TimeFreqSupport.md) | [deep\_copy](#a3addff6333f65b2ea810d7033315ac1c) ([ansys::dpf::Client](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1Client.md) const \*const client=nullptr) const |

> [accordion] Public Member Functions inherited from ansys::dpf::DpfTypes
>
> Public Member Functions inherited from [ansys::dpf::DpfTypes](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1DpfTypes.md)
>
> | Type | Name |
> | - | - |
> | virtual bool | [empty](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1DpfTypes.md#a39cd546c42518e2332be8f287db95459) () const |
> | virtual bool | [hasInternalObject](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1DpfTypes.md#ae198f89868d85c7db6dc1a934a1d3c15) () const |
> | virtual std::string | [describe](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1DpfTypes.md#a9977945710983bc03d2940fa007847b2) () const |
> | so::API const \* | [callAPI](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1DpfTypes.md#aea34d37e0c080126eff70db34bf46597) () const |
> | bool | [isOnCommonAPI](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1DpfTypes.md#a9f9789ff61cc9d400a2a344830706b73) () const |
> | bool | [getClient](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1DpfTypes.md#a968afd9daa0b0f13b65a2ac61369d73a) ([Client](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1Client.md) \&client) const |
> | bool | [hasBeenMovedLocally](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1DpfTypes.md#a1a5634202c15404b6b24e8f50e51cb66) () const |
> | bool | [isSameObject](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1DpfTypes.md#aa64d5f8fcd7d85ad6ebf708494dbefd7) ([DpfTypes](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1DpfTypes.md) const \&rhs) const |

## Static Public Member Functions

| Type | Name |
| - | - |
|  static [TimeFreqSupport](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1TimeFreqSupport.md) | **emptyTimeFreqSupport** () |

## 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](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/CompleteRST_8cpp-example.md), [DataApis.cpp](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/DataApis_8cpp-example.md), [DataExport.cpp](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/DataExport_8cpp-example.md), [ModelTest.cpp](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/ModelTest_8cpp-example.md), and [WorkflowExamples.cpp](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/WorkflowExamples_8cpp-example.md).

## Constructor & Destructor Documentation

### TimeFreqSupport() \[1/2]

```cpp theme={null}
ansys::dpf::TimeFreqSupport::TimeFreqSupport(Client const *const client)
```

Create a new [TimeFreqSupport](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1TimeFreqSupport.md) on a server.

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | client | [Client](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1Client.md) instance designating the IP, port and protocol to use. |

### TimeFreqSupport() \[2/2]

```cpp theme={null}
ansys::dpf::TimeFreqSupport::TimeFreqSupport(
    int id,
    Client const *const client
)
```

Retrieve an existing instance of [TimeFreqSupport](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1TimeFreqSupport.md) on a server. \


**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | id | Id of the [TimeFreqSupport](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1TimeFreqSupport.md) object on the server's database. |
| \[in] | client | [Client](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1Client.md) instance designating the IP, port and protocol to use. |

## Member Function Documentation

### boundingCumulativeIndecesOfTimeFreq()

```cpp theme={null}
std::pair< dp_int , dp_int > ansys::dpf::TimeFreqSupport::boundingCumulativeIndecesOfTimeFreq(
    double time_freq,
    int loadstep = 0
) const
```

**Returns**

Bounding indices for given time time frequency and load step.

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | time\_freq | Time frequency for which to find bounding indices. |
| \[in] | loadstep | Optional load step. |

### deep\_copy()

```cpp theme={null}
TimeFreqSupport ansys::dpf::TimeFreqSupport::deep_copy(
    ansys::dpf::Client const *const client = nullptr
) const
```

Create a new [TimeFreqSupport](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1TimeFreqSupport.md) on a server by copying all the data of this [TimeFreqSupport](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1TimeFreqSupport.md).

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | client | [Client](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1Client.md) instance designating the IP, port and protocol to use. |

### frequencies()

```cpp theme={null}
Field ansys::dpf::TimeFreqSupport::frequencies() const
```

**Returns**

[Field](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1Field.md) associated with time frequency.

**Examples**

[DataApis.cpp](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/DataApis_8cpp-example.md), [DataExport.cpp](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/DataExport_8cpp-example.md), [ModelTest.cpp](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/ModelTest_8cpp-example.md), and [WorkflowExamples.cpp](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/WorkflowExamples_8cpp-example.md).

### getImaginaryFreqByStep()

```cpp theme={null}
dp_double ansys::dpf::TimeFreqSupport::getImaginaryFreqByStep(
    dp_index step,
    dp_index sub_step
) const
```

**Returns**

imaginary frequency at a given step index and substep indices.

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | step | step index (0 based). |
| \[in] | sub\_step | sub\_step index (0 based). |

### getImaginaryFreqSetIndexByValue()

```cpp theme={null}
dp_int ansys::dpf::TimeFreqSupport::getImaginaryFreqSetIndexByValue(dp_double frequency) const
```

**Returns**

set index (0 based) for given imaginary frequency.

### getSetIndexByStepIndexAndSubStep()

```cpp theme={null}
dp_int ansys::dpf::TimeFreqSupport::getSetIndexByStepIndexAndSubStep(
    dp_int step,
    dp_int sub_step
) const
```

**Returns**

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

**Examples**

[ModelTest.cpp](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/ModelTest_8cpp-example.md).

### getSetIndexByTimeFreq()

```cpp theme={null}
dp_int ansys::dpf::TimeFreqSupport::getSetIndexByTimeFreq(dp_double frequency) const
```

**Returns**

set index (0 based) for given time frequency.

### getStepAndSubStep()

```cpp theme={null}
std::pair< dp_id , dp_index > ansys::dpf::TimeFreqSupport::getStepAndSubStep(
    int cumulative_index
) const
```

**Returns**

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

### getTimeFreqByStep()

```cpp theme={null}
dp_double ansys::dpf::TimeFreqSupport::getTimeFreqByStep(
    dp_index step,
    dp_index sub_step
) const
```

**Returns**

time frequency at a given step index and substep indices.

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | step | step index (0 based). |
| \[in] | sub\_step | sub\_step index (0 based). |

### harmonicIndeces()

```cpp theme={null}
Field ansys::dpf::TimeFreqSupport::harmonicIndeces(dp_int stage = 0) const
```

**Returns**

Harmonic indices associated with time frequency.

**Examples**

[ModelTest.cpp](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/ModelTest_8cpp-example.md).

### harmonicIndicesScoping()

```cpp theme={null}
Scoping ansys::dpf::TimeFreqSupport::harmonicIndicesScoping() const
```

**Returns**

[Scoping](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1Scoping.md) containing all the stage numbers of the [TimeFreqSupport](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1TimeFreqSupport.md).

### imaginaryFrequencies()

```cpp theme={null}
Field ansys::dpf::TimeFreqSupport::imaginaryFrequencies() const
```

**Returns**

[Field](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1Field.md) associated with imaginary part of time frequency.

### numberOfSets()

```cpp theme={null}
dp_int ansys::dpf::TimeFreqSupport::numberOfSets() const
```

**Returns**

Number of time frequency sets.

**Examples**

[CompleteRST.cpp](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/CompleteRST_8cpp-example.md), [DataApis.cpp](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/DataApis_8cpp-example.md), [DataExport.cpp](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/DataExport_8cpp-example.md), and [ModelTest.cpp](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/ModelTest_8cpp-example.md).

### numberOfSingularSets()

```cpp theme={null}
dp_int ansys::dpf::TimeFreqSupport::numberOfSingularSets() const
```

**Returns**

Number of unique time frequency entries.

### numberOfSteps()

```cpp theme={null}
dp_int ansys::dpf::TimeFreqSupport::numberOfSteps() const
```

**Returns**

Number of steps.

**Examples**

[ModelTest.cpp](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/ModelTest_8cpp-example.md).

### numberOfSubStepsByStepId()

```cpp theme={null}
dp_int ansys::dpf::TimeFreqSupport::numberOfSubStepsByStepId(dp_int stepId) const
```

**Returns**

Number of sub steps for a given step id.

### numberOfSubStepsByStepIndex()

```cpp theme={null}
dp_int ansys::dpf::TimeFreqSupport::numberOfSubStepsByStepIndex(dp_int stepIndex) const
```

**Returns**

Number of sub steps for a given step index (0 based).

**Examples**

[ModelTest.cpp](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/ModelTest_8cpp-example.md).

### rpms()

```cpp theme={null}
Field ansys::dpf::TimeFreqSupport::rpms() const
```

**Returns**

RPMS associated with time frequency.

### setHarmonicIndices()

```cpp theme={null}
void ansys::dpf::TimeFreqSupport::setHarmonicIndices(
    Field field,
    dp_int stage = 0
)
```

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

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | field | [Field](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1Field.md) from which to set imaginary part of time frequency. |
| \[in] | stage | Optional stage number (default is 0). |

**Examples**

[DataApis.cpp](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/DataApis_8cpp-example.md).

### setImaginaryFrequencies()

```cpp theme={null}
void ansys::dpf::TimeFreqSupport::setImaginaryFrequencies(Field field)
```

Set imaginary part of time frequency from given field.

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | field | [Field](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1Field.md) from which to set imaginary part of time frequency. |

### setRpms()

```cpp theme={null}
void ansys::dpf::TimeFreqSupport::setRpms(Field field)
```

Set rpms of time frequency support from given field.

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | field | [Field](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1Field.md) from which to set imaginary part of time frequency. |

**Examples**

[DataApis.cpp](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/DataApis_8cpp-example.md).

### setTimeFrequencies()

```cpp theme={null}
void ansys::dpf::TimeFreqSupport::setTimeFrequencies(Field field)
```

Set time frequency from given field.

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | field | [Field](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1Field.md) from which to set time frequency. |

**Examples**

[DataApis.cpp](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/DataApis_8cpp-example.md), and [DataExport.cpp](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/DataExport_8cpp-example.md).

### timeFreq()

```cpp theme={null}
dp_double ansys::dpf::TimeFreqSupport::timeFreq(
    dp_int cumul_index,
    dp_int complex_id = 0
) const
```

**Returns**

Time/Frequency for given index.

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | cumul\_index | Index for which to get time frequency. |
| \[in] | complex\_id | Optional non-zero indicates to get imaginary part of time frequency. |

**Examples**

[ModelTest.cpp](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/ModelTest_8cpp-example.md).

### timeFrequenciesSubstepIds()

```cpp theme={null}
PropertyField ansys::dpf::TimeFreqSupport::timeFrequenciesSubstepIds() const
```

**Returns**

substep id associated with time frequency.
