Skip to content

Commit 92c2431

Browse files
Liang YuLiang Yu
authored andcommitted
default geo2rdr values in geo2rdr class header and pybind inits (#895)
Co-authored-by: Liang Yu <[email protected]>
1 parent 1285647 commit 92c2431

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

cxx/isce3/geometry/Geo2rdr.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ class isce3::geometry::Geo2rdr {
185185

186186
// Processing parameters
187187
int _numiter;
188-
double _threshold;
188+
double _threshold = 1e-8;
189189
size_t _linesPerBlock = 1000;
190190
};
191191

python/extensions/pybind_isce3/cuda/geometry/geo2rdr.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ void addbinding(py::class_<Geo2rdr> & pyGeo2Rdr)
3535
py::arg("orbit"),
3636
py::arg("ellipsoid"),
3737
py::arg("doppler") = isce3::core::LUT2d<double>(),
38-
py::arg("threshold") = 0.05,
38+
py::arg("threshold") = 1e-8,
3939
py::arg("numiter") = 25,
4040
py::arg("lines_per_block") = 1000)
4141
.def("geo2rdr", py::overload_cast<isce3::io::Raster &, const std::string &,

python/extensions/pybind_isce3/geometry/geo2rdr.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ void addbinding(py::class_<Geo2rdr> & pyGeo2Rdr)
4444
py::arg("orbit"),
4545
py::arg("ellipsoid"),
4646
py::arg("doppler") = isce3::core::LUT2d<double>(),
47-
py::arg("threshold") = 0.05,
47+
py::arg("threshold") = 1e-8,
4848
py::arg("numiter") = 25,
4949
py::arg("lines_per_block") = 1000)
5050
.def("geo2rdr", py::overload_cast<isce3::io::Raster &, const std::string &,

0 commit comments

Comments
 (0)