> ## 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.

# TimeFreqScopingFactory class

**Namespace:** [Ans.DataProcessing](https://developer.synopsys.com/docs/dpf/dpf-mechanical/api/Ans.DataProcessing)

## Summary

Helpers to create time scoping inputs

## Example

```python theme={null}
my_displacement = dpf.operators.result.displacement(TimeFreqScopingFactory.ScopingByLoadStep(2))

my_displacement = dpf.operators.result.displacement(TimeFreqScopingFactory.ScopingBySet([1,2,3]))
```

## Class Information

| Property | Value |
| - | - |
| Namespace | `Ans.DataProcessing` |
| Assembly | `CS_DataProcessing` |

## Methods

#### ScopingByLoadStep

Method `ScopingByLoadStep` create time/freq scoping to get results by loadstep

```python theme={null}
result = obj.ScopingByLoadStep(loadStep)
```

**Parameters:**

* `loadStep` (*int*)

**Returns:** *Scoping*

#### ScopingByLoadSteps

```python theme={null}
result = obj.ScopingByLoadSteps(loadSteps)
```

**Parameters:**

* `loadSteps` (*list*)

**Returns:** *Scoping*

#### ScopingBySet

Method `ScopingBySet` create time/freq scoping to get results by time/freq set

```python theme={null}
result = obj.ScopingBySet(cumulativeSet)
```

**Parameters:**

* `cumulativeSet` (*int*)

**Returns:** *Scoping*

#### ScopingBySets

```python theme={null}
result = obj.ScopingBySets(cumulativeSets)
```

**Parameters:**

* `cumulativeSets` (*list*)

**Returns:** *Scoping*

#### ScopingByStepAndSubstep

Method `ScopingByStepAndSubstep` create time/freq scoping by step and substep

```python theme={null}
result = obj.ScopingByStepAndSubstep(loadStepId, subsetId, timeFreqSupport)
```

**Parameters:**

* `loadStepId` (*int*)
* `subsetId` (*int*)
* `timeFreqSupport` (*TimeFreqSupport*)

**Returns:** *Scoping*

#### ScopingByStepAndSubstep

Method `ScopingByStepAndSubstep` create time/freq scoping by step and substep

```python theme={null}
result = obj.ScopingByStepAndSubstep(loadStepId, subsetId, model)
```

**Parameters:**

* `loadStepId` (*int*)
* `subsetId` (*int*)
* `model` (*Model*)

**Returns:** *Scoping*

#### ScopingOnAllTimeFreqs

Method `ScopingOnAllTimeFreqs` creates time/freq scoping for all time or frequency sets

```python theme={null}
result = obj.ScopingOnAllTimeFreqs(timeFreqSupport)
```

**Parameters:**

* `timeFreqSupport` (*TimeFreqSupport*)

**Returns:** *Scoping*

#### ScopingOnAllTimeFreqs

Method `ScopingOnAllTimeFreqs` creates time/freq scoping for all time or frequency sets

```python theme={null}
result = obj.ScopingOnAllTimeFreqs(model)
```

**Parameters:**

* `model` (*Model*)

**Returns:** *Scoping*
