We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
typing.Literal
1 parent 7be6c1e commit fba48cfCopy full SHA for fba48cf
python/packages/isce3/unwrap/snaphu.py
@@ -765,9 +765,6 @@ def from_flat_file(
765
]
766
CostParams.__doc__ = """SNAPHU cost mode configuration parameters"""
767
768
-InitMethod = Literal["mst", "mcf"]
769
-InitMethod.__doc__ = """SNAPHU initialization method"""
770
-
771
772
def unwrap(
773
unw: isce3.io.gdal.Raster,
@@ -777,7 +774,7 @@ def unwrap(
777
774
nlooks: float,
778
775
cost: str = "smooth",
779
776
cost_params: Optional[CostParams] = None,
780
- init_method: InitMethod = "mcf",
+ init_method: str = "mcf",
781
pwr: Optional[isce3.io.gdal.Raster] = None,
782
mask: Optional[isce3.io.gdal.Raster] = None,
783
unwest: Optional[isce3.io.gdal.Raster] = None,
0 commit comments