Skip to content

§9.5 notebook: shoot with Lorenz63, plot via to_pyleo, resolve TODOs - #62

Merged
CommonClimate merged 4 commits into
mainfrom
notebooks/strogatz-9.5-lorenz63-shooting
Nov 19, 2026
Merged

CommonClimate merged 4 commits into
mainfrom
notebooks/strogatz-9.5-lorenz63-shooting

Conversation

@CommonClimate

Copy link
Copy Markdown
Contributor

Follow-up to #55, now that #56 is merged. Resolves the notebook's TODO list.

Changes to notebooks/applications/strogatz_9.5_lorenz_parameter_space.ipynb

The notebook is committed executed; 0 errors.

🤖 Generated with Claude Code

- Periodic-orbit shooting now integrates the Lorenz63 critter itself
  (DOP853, rtol = atol = 1e-12 through integrate's method/kwargs)
  instead of a bare scipy RHS, possible since #56. The cycle branch is
  unchanged to 2e-11; the whole notebook runs in ~20 s.
- The solver check re-integrates the cycles with RK45, an independent
  scheme, rather than checking the critter against itself.
- y(t) figures (9.5.3, 9.5.5, sensitivity) go through Output.to_pyleo,
  overriding pyleoclim's default 'years CE' time label with
  xlabel='$t$' (the workaround from #53).
- Remove the TODO cell: #51 done, #53 closed as not planned, #52 noted
  where the shoot/continue_cycle prototypes live; paper figures are
  styled in the paper repo.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@review-notebook-app

Copy link
Copy Markdown

Review Notebooks

Notebooks changed:

Review visual diffs and comment on any notebook cell. All comments sync back to this PR.


Powered by ReviewNB

CommonClimate and others added 3 commits November 18, 2026 14:35
Drop the equations and the close paraphrase of the book's discussion.
Keep short descriptions of what each figure reproduces, and point to the
book (Sections 9.2 and 9.5) for definitions such as C+/C- and r_H.
Only markdown changes; code and outputs are unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Pass a compiled cc.forcing.Ramp sequence as rho (22 -> 26 -> 22 over
2 x 4000 time units) and plot x against r for the up- and down-sweeps.
The trajectory leaves C+ at r = 25.6 going up and settles at r = 23.05
going down, which brackets the bistable range [24.06, r_H]. The caption
explains the extra width (delayed Hopf, long chaotic transients) and
notes that a 4x slower ramp narrows the loop to [23.72, 25.17].

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- One rcParams block in the setup cell, adapted from borehole_val's
  journal style: left/bottom spines only, light dotted grid, Arial
  for both text and math, bold titles, frameless legends, and a
  small palette (BLUE, RED, ORANGE, INK) used throughout.
- Hysteresis figure: C+ and C- labelled on the plot, swept
  trajectories drawn in front of the dashed fixed-point curves, panel
  labels moved clear of the data and colored to match their curves.
- Sensitivity plot: C+/C- labelled at the right end of their lines.
  Fig. 9.5.2: white backing behind the C+ label inside the spiral.
  Fig. 9.5.1: 'strange attractor' split over two lines so it isn't
  clipped.
- Reference lines sit behind the data (zorder=0).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@CommonClimate
CommonClimate merged commit 6510362 into main Nov 19, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant