benvial/gyptis

View on GitHub
examples/diffraction/plot_silver_core_shell_grating.py

Summary

Maintainability
A
1 hr
Test Coverage

Function build_geometry has 33 lines of code (exceeds 25 allowed). Consider refactoring.
Open

def build_geometry(wavelength, pmesh):
    thicknesses = OrderedDict(
        {
            "pml_bottom": wavelength,
            "substrate": wavelength * 1,
Severity: Minor
Found in examples/diffraction/plot_silver_core_shell_grating.py - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status