The Wayback Machine - https://web.archive.org/web/20220709130332/https://github.com/topics/optics
Skip to content
#

optics

Here are 435 public repositories matching this topic...

tofu
catostrophe
catostrophe commented Nov 12, 2020

Let tofu-optics users do this:

import tofu.optics.syntax.tupleN._

val lense = Tuple3._2[Int, String, Long]   // : Contains[(Int, String, Long), String]

tupleN object should contain all possible implicit extensions to Tuple{N} companion objects. Implementations should be macro generated.

enhancement good first issue
BrianGun
BrianGun commented Sep 20, 2021

OpticSim does not currently model reflection from metals properly. Adding support for complex indices of refraction to Glasscat and the various functions called by trace would address this problem. Would also require finding online sources of index data for metals, and adding them to the OpticSim GlassCat loader. Possible source of data here http://www.sspectra.com/sopra.html.

enhancement good first issue
Open

Tests

flaport
flaport commented Oct 14, 2019

The library needs tests to prevent bugs. This library uses pytest as test suite, which is by far the most user friendly test-suite for Python. This is great, because this means anyone can add tests; it's super easy! Moreover, it makes you acquainted with the code, which is why it's labeled a good first issue.

When adding tests, keep the following in mind:

good first issue

Improve this page

Add a description, image, and links to the optics topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the optics topic, visit your repo's landing page and select "manage topics."

Learn more