增加环绕侦察场景适配

This commit is contained in:
2026-01-08 15:44:38 +08:00
parent 3eba1f962b
commit 10c5bb5a8a
5441 changed files with 40219 additions and 379695 deletions

View File

@@ -23,8 +23,6 @@ import operator
import warnings
import numpy as np
from numpy._core.multiarray import dragon4_positional, dragon4_scientific
from numpy.exceptions import RankWarning
__all__ = [
'as_series', 'trimseq', 'trimcoef', 'getdomain', 'mapdomain', 'mapparms',
@@ -661,7 +659,7 @@ def _fit(vander_f, x, y, deg, rcond=None, full=False, w=None):
# warn on rank reduction
if rank != order and not full:
msg = "The fit may be poorly conditioned"
warnings.warn(msg, RankWarning, stacklevel=2)
warnings.warn(msg, np.exceptions.RankWarning, stacklevel=2)
if full:
return c, [resids, rank, s, rcond]
@@ -725,6 +723,8 @@ def _as_int(x, desc):
def format_float(x, parens=False):
from numpy._core.multiarray import dragon4_positional, dragon4_scientific
if not np.issubdtype(type(x), np.floating):
return str(x)