# Observation Functions

To create a new obsevation function, you must create a class that inherits from the ObservationFunction class:

```{eval-rst}
.. autoclass:: sumo_rl.environment.observations.ObservationFunction
    :members:
```

The default observation function is the DefaultObservationFunction class:

```{eval-rst}
.. autoclass:: sumo_rl.environment.observations.DefaultObservationFunction
    :members:
```
