SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 1805.07411 · 2018

Discovery of Nonlinear Multiscale Systems: Sampling Strategies and Embeddings

arXiv · PDF · Open in the Atlas

Code that ran

9 of 10 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 0 violated it and 9 have no contract verdict; 0 failures of our instrument; 1 no recorded run), measured 2026-11-23; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/1805.07411.json · badge: /api/ran/1805.07411.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
kpchamp/MultiscaleDiscovery canonical (classifier label)
classifier basis: census
9 ran · 1 no recorded run
FunctionStatusWhere it lives
compute_dmd_rank Ran
ran on a synthesized input
kpchamp/MultiscaleDiscovery/utils/dmd.py
code served (permissive licence) · get_code("3604988b24bf5e84")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned int, ndim 0, dtype family int, shape () as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import numpy as np

# Test case 1: soft truncation with threshold
s1 = np.array([5.0, 3.0, 1.0, 0.5, 0.1])
truncation_method1 = 'soft'
threshold1 = 1.5

# Test case 2: non-soft truncation with threshold (used as r directly)
s2 = np.array([5.0, 3.0, 1.0, 0.5])
truncation_method2 = 'hard'
threshold2 = 3

# Test case 3: non-soft truncation without threshold
s3 = np.array([5.0, 3.0, 1.0])
truncation_method3 = 'energy'
threshold3 = None

# Use the first test case for ARGS
ARGS = {
    's': s1,
    'truncation_method': truncation_method1,
    'threshold': threshold1
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type int, ndim 0, dtype family int, shape () — shape () as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
compute_real_dmd_modes Ran
ran on a synthesized input
kpchamp/MultiscaleDiscovery/utils/dmd.py
code served (permissive licence) · get_code("6d09bbfb907c0023")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned tuple. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import numpy as np

# Create small test data for the function
np.random.seed(0)

# Phi: matrix of shape (n_spatial, n_modes)
# The function accesses Phi[:, omega_idx[0]], so it needs to be 2D
n_spatial = 4
n_modes = 3
Phi = np.random.randn(n_spatial, n_modes) + 1j * np.random.randn(n_spatial, n_modes)

# omega: array of eigenvalues (complex or real)
# Mix of complex conjugate pairs and real values
omega = np.array([0.5 + 0.3j, 0.5 - 0.3j, 0.8])

# b: array of amplitudes, same length as omega
b = np.array([1.0 + 0.2j, 1.0 - 0.2j, 0.5])

ARGS = {
    'Phi': Phi,
    'omega': omega,
    'b': b
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple — a tuple output has no array shape of its own; none is stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
differentiate Ran
ran on a synthesized input
kpchamp/MultiscaleDiscovery/utils/utils.py
code served (permissive licence) · get_code("88d6d45a22a42600")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned ndarray, ndim 2, dtype family float, shape (2, 8) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import numpy as np

# Scenario 1: X as 2D array, t as scalar
X = np.random.randn(2, 10)  # batch_size=2, sequence_length=10
t_scalar = 0.1

# Scenario 2: X as 2D array, t as array (non-scalar)
t_array = np.linspace(0, 1, 10)

# For the function, we'll use the scalar case as primary
ARGS = {
    'X': X,
    't': t_scalar,
    'method': 'centered_difference',
    'dt_max': None
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ndarray, ndim 2, dtype family float, shape (2, 8) — shape (2, 8) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
hankel_matrix Ran
ran on a synthesized input
kpchamp/MultiscaleDiscovery/utils/utils.py
code served (permissive licence) · get_code("376c1c8678d1ec65")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned ndarray, ndim 2, dtype family float, shape (9, 5) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import numpy as np

# Create a small input array with shape (n_inputs, n_samples)
# Using distinct sizes: 3 inputs, 7 samples
Xin = np.random.randn(3, 7)

# Define parameters
n_delay_coordinates = 3
spacing = 1

# Construct the ARGS dictionary
ARGS = {
    "Xin": Xin,
    "n_delay_coordinates": n_delay_coordinates,
    "spacing": spacing,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ndarray, ndim 2, dtype family float, shape (9, 5) — shape (9, 5) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
integrate Ran
ran on a synthesized input
kpchamp/MultiscaleDiscovery/utils/utils.py
code served (permissive licence) · get_code("51ec96927f21771b")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned ndarray, ndim 2, dtype family float, shape (2, 5) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import numpy as np

# Create test data
# X should be a 2D array with shape (batch_size, time_steps)
X = np.array([
    [1.0, 2.0, 3.0, 4.0, 5.0],
    [2.0, 4.0, 6.0, 8.0, 10.0]
], dtype=np.float64)

# Test case 1: scalar t
t_scalar = 0.5

# Test case 2: array t with valid time differences
t_array = np.array([0.0, 0.1, 0.2, 0.3, 0.4], dtype=np.float64)

# dt_max parameter (optional)
dt_max = 0.15

ARGS = {
    "X": X,
    "t": t_array,
    "dt_max": dt_max
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ndarray, ndim 2, dtype family float, shape (2, 5) — shape (2, 5) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
lorenz Ran
ran on a synthesized input
kpchamp/MultiscaleDiscovery/utils/simulations.py
code served (permissive licence) · get_code("61bb4253415897b6")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned tuple, ndim 1, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import numpy as np

torch.manual_seed(0)

# Analyzing the function:
# - lorenz takes 4 parameters: sigma, rho, beta, tau (with tau defaulting to 1.0)
# - sigma, rho, beta, and tau are used in arithmetic operations within lambda functions
# - They should be numeric values (float or int)

ARGS = {
    "sigma": 10.0,
    "rho": 28.0,
    "beta": 8.0 / 3.0,
    "tau": 1.0
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple, ndim 1, dtype family float — a tuple output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
pool_data Ran
ran on a synthesized input
kpchamp/MultiscaleDiscovery/utils/sindy.py
code served (permissive licence) · get_code("fac03da3b3e4db74")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned tuple. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import numpy as np

# Create a simple input array
# The function expects either 1D or 2D array
# 1D: shape (n,) where n is number of variables
# 2D: shape (n, T) where n is number of variables, T is number of time steps
Xin = np.array([
    [1.0, 2.0, 3.0],
    [0.5, 1.5, 2.5],
    [2.0, 3.0, 4.0],
    [1.2, 2.2, 3.2]
], dtype=np.float64)

ARGS = {
    'Xin': Xin,
    'poly_order': 2,
    'use_sine': False,
    'include_constant': True,
    'varname': 'x'
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, scipy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple — a tuple output has no array shape of its own; none is stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
rossler Ran
ran on a synthesized input
kpchamp/MultiscaleDiscovery/utils/simulations.py
code served (permissive licence) · get_code("d2eb930e32fc4c4f")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned tuple, ndim 1, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import numpy as np

torch.manual_seed(0)

# The function rossler takes parameters a, b, c, and tau
# It returns a tuple of (f, jac) where:
# - f is a lambda that takes (t, x) and returns a list of 3 values
# - jac is a lambda that takes (t, x) and returns a 3x3 matrix
# The parameters a, b, c are scalars used in the differential equations
# tau is a scalar parameter with default value 1.0

# Setting up simple scalar values for the Rössler system parameters
a = 0.2
b = 0.2
c = 5.7
tau = 1.0

ARGS = {
    'a': a,
    'b': b,
    'c': c,
    'tau': tau
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple, ndim 1, dtype family float — a tuple output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
simulate_lorenz Ran
ran on a synthesized input
kpchamp/MultiscaleDiscovery/utils/simulations.py
code served (permissive licence) · get_code("6af40b4d5db08cd4")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned tuple. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import numpy as np

ARGS = {
    "dt": 0.01,
    "n_timesteps": 100,
    "x0": [-8.0, 7.0, 27.0],
    "sigma": 10.0,
    "rho": 28.0,
    "beta": 8/3,
    "tau": 1.0,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, scipy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple — a tuple output has no array shape of its own; none is stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
sindy_setup Not yet run
unverified (harvested, no recorded run)
kpchamp/MultiscaleDiscovery/utils/sindy.py
code served (permissive licence) · get_code("723fc65bc9acf573")
How it ran

no invocation recorded.

Also present in other papers' code

Of 10 samples lifted from this paper's linked repositories, 10 carry a function identity and 0 do not. Of the 10 distinct functions with an identity, 0 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 0 later) and 10 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-23.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

A major challenge in the study of dynamical systems is that of model discovery: turning data into models that are not just predictive, but provide insight into the nature of the underlying dynamical system that generated the data. This problem is made more difficult by the fact that many systems of interest exhibit diverse behaviors across multiple time scales. We introduce a number of data-driven strategies for discovering nonlinear multiscale dynamical systems and their embeddings from data. We consider two canonical cases: (i) systems for which we have full measurements of the governing variables, and (ii) systems for which we have incomplete measurements. For systems with full state measurements, we show that the recent sparse identification of nonlinear dynamical systems (SINDy) method can discover governing equations with relatively little data and introduce a sampling method that allows SINDy to scale efficiently to problems with multiple time scales. Specifically, we can discover distinct governing equations at slow and fast scales. For systems with incomplete observations, we show that the Hankel alternative view of Koopman (HAVOK) method, based on time-delay embedding coordinates, can be used to obtain a linear model and Koopman invariant measurement system that nearly perfectly captures the dynamics of nonlinear quasiperiodic systems. We introduce two strategies for using HAVOK on systems with multiple time scales. Together, our approaches provide a suite of mathematical strategies for reducing the data required to discover and model nonlinear multiscale systems.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("1805.07411")
get_code_for_paper("1805.07411")
have("1805.07411")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/1805.07411.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/1805.07411.svg)](https://syntology.ai/paper/1805.07411)

Connect an agent — have() is free.