# bearing.phi_from_toe_bearing_grid()

Friction angle from toe bearing by interpolation on a fixed grid.

Usage

[Source](https://github.com/lornearnold/driven-pile/blob/main/src/driven_pile/bearing.py#L123-L148)

``` python
bearing.phi_from_toe_bearing_grid(
    q_needed,
    sigma_v,
    options,
)
```

## Parameters

`q_needed: float or array_like`  
Required unit toe resistance, ksf.

`sigma_v: float or array_like`  
Vertical effective stress at the toe, ksf.

`options: ModelOptions`  
Supplies the friction angle bounds and rigidity parameters.

## Returns

`float or ndarray`  
Friction angle, deg, clamped to the bounds. Faster than [phi_from_toe_bearing](../reference/bearing.phi_from_toe_bearing.md#driven_pile.bearing.phi_from_toe_bearing) when evaluated many times.
