Skip to content

Commit

Permalink
Updating Anderson notebook and notebook tests
Browse files Browse the repository at this point in the history
  • Loading branch information
momchil-flex committed Apr 22, 2024
1 parent 0a180a4 commit 95919b8
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 10 deletions.
2 changes: 1 addition & 1 deletion docs/notebooks
48 changes: 39 additions & 9 deletions tests/_test_notebooks/full_test_notebooks.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,17 +28,22 @@
notebook_base = path.split("/")[-1]
print(f"'{notebook_base[:-6]}',")


# if you want to run only some notebooks, put here, if empty, run all
run_only = []
run_only = [
]

skip = [
"AdjointPlugin5BoundaryGradients",
"AdjointPlugin6GratingCoupler",
"AdjointPlugin7Metalens",
"AdjointPlugin8WaveguideBend",
"AdjointPlugin9WDM",
"AdjointPlugin11CircuitMZI",

# long time (excluding most adjoint)
'8ChannelDemultiplexer',
'BullseyeCavityPSO',
'FocusedApodGC',
"GeneticAlgorithmReflector",
'ParticleSwarmOptimizedPBS',

# hang by default
"AdjointPlugin14PreFab.ipynb",
"WaveguideBendSimulator",
]

# if any run only supplied, only add those
Expand All @@ -52,13 +57,17 @@
notebook_filenames.append(fname)

"""
as of Nov 10 2023
as of April 15 2024
'8ChannelDemultiplexer',
'90BendPolarizationSplitterRotator',
'90OpticalHybrid',
'AdiabaticCouplerLN',
'AdjointPlugin0Quickstart',
'AdjointPlugin10YBranchLevelSet',
'AdjointPlugin11CircuitMZI',
'AdjointPlugin12LightExtractor',
'AdjointPlugin13Metasurface',
'AdjointPlugin14PreFab',
'AdjointPlugin1Intro',
'AdjointPlugin2GradientChecking',
'AdjointPlugin3InverseDesign',
Expand All @@ -68,33 +77,42 @@
'AdjointPlugin7Metalens',
'AdjointPlugin8WaveguideBend',
'AdjointPlugin9WDM',
'AllDielectricStructuralColor',
'AndersonLocalization',
'AnimationTutorial',
'AutoGrid',
'Bandstructure',
'BilayerSiNEdgeCoupler',
'BilevelPSR',
'BiosensorGrating',
'BistablePCCavity',
'BoundaryConditions',
'BraggGratings',
'BroadbandDirectionalCoupler',
'BullseyeCavityPSO',
'CMOSRGBSensor',
'CavityFOM',
'CreatingGeometryUsingTrimesh',
'CustomFieldSource',
'CustomMediumTutorial',
'Design',
'DielectricMetasurfaceAbsorber',
'Dispersion',
'DistributedBraggReflectorCavity',
'DivergedFDTDSimulation',
'EMESolver',
'EdgeCoupler',
'EffectiveIndexApproximation',
'EulerWaveguideBend',
'FieldProjections',
'Fitting',
'FocusedApodGC',
'FresnelLens',
'FullyAnisotropic',
'GDSExport',
'GDSImport',
'GeneticAlgorithmReflector',
'GeometryTransformations',
'GradientMetasurfaceReflector',
'GrapheneMetamaterial',
'GratingCoupler',
Expand All @@ -103,7 +121,9 @@
'HeatSolver',
'HighQGe',
'HighQSi',
'MIMResonator',
'MMI1x4',
'MachZehnderModulator',
'MetalHeaterPhaseShifter',
'Metalens',
'MicrowaveFrequencySelectiveSurface',
Expand All @@ -115,13 +135,15 @@
'Near2FarSphereRCS',
'NonHermitianMetagratings',
'OpticalLuneburgLens',
'OpticalSwitchDBS',
'OptimizedL3',
'PICComponents',
'ParameterScan',
'ParticleSwarmOptimizedPBS',
'PhotonicCrystalWaveguidePolarizationFilter',
'PhotonicCrystalsComponents',
'PlasmonicNanoparticle',
'PlasmonicNanorodArray',
'PlasmonicWaveguideCO2Sensor',
'PlasmonicYagiUdaNanoantenna',
'PolarizationSplitterRotator',
Expand All @@ -132,6 +154,8 @@
'SMatrix',
'STLImport',
'SWGBroadbandPolarizer',
'SbendCMAES',
'ScaleInvariantWaveguide',
'SelfIntersectingPolyslab',
'Simulation',
'StartHere',
Expand All @@ -140,14 +164,20 @@
'TFSF',
'THzDemultiplexerFilter',
'ThermallyTunedRingResonator',
'ThermoOpticDopedModulator',
'TimeModulationTutorial',
'TunableChiralMetasurface',
'UnstructuredData',
'VizData',
'VizSimulation',
'WaveguideBendSimulator',
'WaveguideCrossing',
'WaveguideGratingAntenna',
'WaveguidePluginDemonstration',
'WaveguideSizeConverter',
'WaveguideToRingCoupling',
'WebAPI',
'XarrayTutorial',
'YJunction',
'ZeroCrossTalkTE',
'ZonePlateFieldProjection',
Expand Down

0 comments on commit 95919b8

Please sign in to comment.