update API
This commit is contained in:
@@ -7,4 +7,4 @@ from scgenerator.parameter import Parameters
|
||||
from scgenerator.physics import fiber, materials, plasma, pulse, units
|
||||
from scgenerator.physics.units import PlotRange
|
||||
from scgenerator.solver import SimulationResult, integrate, solve43
|
||||
from scgenerator.spectra import Propagation, Spectrum
|
||||
from scgenerator.spectra import Spectrum, propagation
|
||||
|
||||
@@ -553,7 +553,7 @@ class Parameters:
|
||||
else:
|
||||
return first
|
||||
|
||||
def compile(self, exhaustive=False, strict: bool = True) -> Parameters:
|
||||
def compile(self, *, exhaustive=False, strict: bool = True) -> Parameters:
|
||||
"""
|
||||
Computes missing parameters and returns them in a frozen `Parameters` instance
|
||||
|
||||
|
||||
Reference in New Issue
Block a user