Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update length scale measurement scripts to use new imageruler #64

Merged
merged 2 commits into from
Apr 10, 2024

Conversation

mfschubert
Copy link
Contributor

This PR updates all the length scale measurement scripts to use the new imageruler.

It also adds a github workflow that runs all the scripts, which will help keep things in working order.

mfschubert and others added 2 commits April 1, 2024 18:55
* Use new imageruler

* Fix eof errors

* Manually install deps

* Fix typo

* Add slow_light_waveguide test

* binarize

* Rename

* Fix binarization

* Report feature size in nm
@oskooi oskooi self-requested a review April 2, 2024 03:45
python -m pip install --upgrade pip
pip install numpy
pip install imageruler
pip install ceviche-challenges
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this necessary?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, these are dependencies for the length scale scripts. The alternative would be to specify dependencies in a separate file (e.g. with a pyproject.toml), but since this repo is more of a collection of scripts I went for this approach.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is ceviche-challenges a dependency?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It’s a dependency in the script for the mode converter.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(The mode converter script measures length scale and also evaluates the performance of the design.)

Copy link
Collaborator

@oskooi oskooi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@stevengj stevengj merged commit 2683d5a into NanoComp:main Apr 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants