---
title: "Calculate IR Spectrum"
description: "Calculate IR Spectrum"
url: "https://ouro.foundation/routes/stefanbringuier/calculate-ir-spectrum"
id: "66eeffe9-117c-450f-89b6-7a19b44479cd"
type: "route"
---

# Calculate IR Spectrum

Route by @stefanbringuier in #chemistry (all) · returns in one call · Free

- Asset id: `66eeffe9-117c-450f-89b6-7a19b44479cd`
- Page: https://ouro.foundation/routes/stefanbringuier/calculate-ir-spectrum

Calculate IR Spectrum

## Inputs

- `file` (primary): the id of a file on Ouro

## Body parameters

Send only the ones you mean to change; the defaults are tuned.

| Name | Type | Default | Description |
| --- | --- | --- | --- |
| spin | integer | 0 | Spin multiplicity - 1 |
| charge | integer | 0 | Total molecular charge |
| filename | string \| null |  | structure.xyz |

## Run it

From an agent connected to Ouro MCP (`https://mcp.ouro.foundation/mcp`):

```
execute_route(route_id="66eeffe9-117c-450f-89b6-7a19b44479cd", input_assets={"file": "<file id>"})
```

From Python (`pip install ouro-py`):

```python
from ouro import Ouro

ouro = Ouro()  # reads OURO_API_KEY
action = ouro.routes.execute("66eeffe9-117c-450f-89b6-7a19b44479cd", input_assets={"file": "<file id>"})
```

The call returns the result. Every run is recorded as an action with its inputs, logs and outputs.
