> For the complete documentation index, see [llms.txt](https://anufrievroman.gitbook.io/freepaths/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://anufrievroman.gitbook.io/freepaths/basic-tutorials/parabolic-lens.md).

# Parabolic lens

In the `examples/parabolic_lens_collimation.py` example, we create a collimated phonon flux by reflecting phonons from a parabolic surface. The figure below illustrates the concept:

<figure><img src="/files/6t2uqnnJxOCJmfvHKkH2" alt="" width="563"><figcaption><p>Concept of collimation and focusing using parabolic surface.</p></figcaption></figure>

We place the parabolic boundary at the bottom and move the hot spot that emits the phonon to *y* = 300 nm, as shown in the input file:

```
# Hot and cold sides:
COLD_SIDE_POSITION_TOP = True

# Phonon source:
PARTICLE_SOURCES = [Source(y=300e-9, size_x=100e-9,  size_y=100e-9, size_z=THICKNESS, angle_distribution="uniform")]

# Parabolic mirror:
HOLES = [ParabolaBottom(tip=0, focus=300e-9)]
```

Note that `angle_distribution="uniform"` because we need to emit phonons in all directions evenly. This model produces the following structure, which collimates phonons after reflection from the parabolic boundary:

<div><figure><img src="/files/JGXhcW4pzG1e3ikiIvCC" alt=""><figcaption><p>Phonon trajectories show collimation of phonons reflected from the parabolic boundary.</p></figcaption></figure> <figure><img src="/files/64qY6fKfy2zlDRVYSDEz" alt=""><figcaption><p>Angular distribution shows that many phonons have an angle of zero degrees at the top of the structure (blue), while the initial distribution was uniform (red).</p></figcaption></figure></div>

The parabolic lens can also be inverted and placed at the top as follows

```
# Phonon source:
PARTICLE_SOURCES = [Source(x=0, y=0, z=0, size_x=WIDTH,  size_y=0, size_z=THICKNESS, angle_distribution="directional")]

# Parabolic boundary:
HOLES = [ParabolaTop(tip=1000e-9, focus=100e-9)]
```

Here, the source is placed at the bottom, while the parabola is at the top.

### Reference

* Singh et al. [Applied Physics Letters, (2023)](https://aip.scitation.org/doi/10.1063/5.0137221)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://anufrievroman.gitbook.io/freepaths/basic-tutorials/parabolic-lens.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
