-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update length scale measurement scripts to use new imageruler (#64)
* Use new imageruler (#1) * 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 * Fix eof
- Loading branch information
1 parent
c94e6bc
commit 2683d5a
Showing
6 changed files
with
92 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
name: CI | ||
|
||
on: | ||
pull_request: | ||
push: | ||
branches: | ||
- main | ||
schedule: | ||
- cron: "0 13 * * 1" # Every Monday at 9AM EST | ||
|
||
jobs: | ||
measure-length-scales: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
|
||
- name: Setup environment | ||
run: | | ||
python -m pip install --upgrade pip | ||
pip install numpy | ||
pip install imageruler | ||
pip install ceviche-challenges | ||
- name: cavity_design | ||
run: | | ||
cd cavity_design | ||
python minimum_lengthscales_run.py | ||
cd .. | ||
- name: Metagrating3D | ||
run: | | ||
cd Metagrating3D | ||
python minimum_lengthscales_run.py | ||
cd .. | ||
- name: RGB_metalens | ||
run: | | ||
cd RGB_metalens | ||
python minimum_lengthscales_run.py | ||
cd .. | ||
- name: slow_light_waveguide | ||
run: | | ||
cd slow_light_waveguide | ||
python minimum_lengthscales_run.py | ||
cd .. | ||
- name: waveguide_mode_converter | ||
run: | | ||
cd waveguide_mode_converter | ||
python run.py designs/converter_generator_circle_6_x47530832_w1_s796.csv | ||
cd .. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters