Repository navigation
One install story (setup.py, install presets, docs) and a pulse / time-bandwidth calculator - #2
Merged
Merged
Conversation
…ulse and beam
{"id": "pass2", "sameAs": "pass1"} is the same physical object as pass1 (same type and
numbers, so a fit of a transform moves every pass), but compiles on its own: own pulse,
spectrum, energy, beam, record and loss booking. A copy may set only label, enabled,
wiring and per-pass geometry (aoiDeg, aoiRad, tiltXRad, side, output).
- SameAsResolver expands copies when a system is read; saved files keep the written form
- generalises the beam-splitter-only sameAs (old files keep working)
- fit paths into a copy are refused (fit the source)
- Python same_as(); tests, docs, generated files, status counts updated
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…s) and a pulse / time-bandwidth calculator Install and build - docs/install.md: "what do you want?" table for release install, source build, Python, C API, single plugins; AI-agent steps; troubleshooting - build/setup.py (+ setup.sh, setup.bat): source builds with --cli/--python/--cpp, --plugins (with plugin.json requires), --plugin-only, --venv, --check, --doctor, --dry-run, --clean-native - python/tools/build_engine.py: --plugins, --framework; importable - install.py: --preset (cli, cli-plugins, python, python-native, cpp, full) and a next-steps summary - README, getting-started, python/README (dead link fixed), releasing, llms.txt, CLAUDE.md, AGENTS.md point to the new page Pulse calculator - Core PulseCalculator (shapes, limit, analyze, measure), CLI `ultrafast pulse`, C API uf_pulse_calc, Python ultrafast.calc - Tests against closed-form values (0.4413, 0.3148, 0.8859, chirped-Gaussian GDD, rms 1/4pi) Tests: C# 599 pass; Python 260 pass, 2 skipped; mkdocs --strict clean. Not run: NativeAOT (--cpp, --python-engine native), Windows, Linux, release.yml on GitHub. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…et reflectivity); same_as gains side The sameAs rule (cf17337) refuses reflectivity on a copy; the paper script passed it through beam_splitter. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…ts what import loads and fails on a shadowing stale library A NativeAOT library from before uf_pulse_calc made every engine call fail (dlsym symbol not found). Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…y-run Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Install and build
docs/install.md: one page with a "what do you want?" table (release install, source build, Python, C API, individual plugins), hosted vs native Python engine, troubleshooting, and a short box for AI agents.build/setup.py(./setup.sh,setup.bat): source builds with--cli,--python,--cpp,--plugins(followsplugin.jsonrequires),--plugin-only,--venv,--check,--doctor,--dry-run,--clean-native.install.py --preset(cli,cli-plugins,python,python-native,cpp,full) and a next-steps summary.docs/python.mdlink fixed), releasing, llms.txt, CLAUDE.md, AGENTS.md, ROADMAP, PROJECT_STATUS, next-steps updated. Nothing is uploaded to PyPI; the roadmap item says so.Pulse calculator (time-bandwidth product)
ultrafast pulse shapes|limit|analyze|measure, C APIuf_pulse_calc, Pythonultrafast.calc; TBP of Gaussian / sech² / rectangular, transform limit, stretch factor, chirped-Gaussian GDD, rms product from measured arrays. Docs:reference/pulse-calculator.md.Verified (macOS arm64, .NET 10, Python 3.12)
dotnet build UltrafastEngine.sln -c Release: 0 errors--slow: 599 pass, 0 fail, 9 skipped (+5)mkdocs build --strict: cleansetup.py: CLI with a plugin subset and Python into a fresh venv with--checkNot verified
--cppand--python-engine native(NativeAOT), Windowssetup.bat, Linux,release.ymlon GitHub (never run), net48 tests on Mono (not installed here),/example-check.python/src/ultrafast/bin/nativelibrary shadows a hosted build;setup.pywarns and--clean-nativeremoves it. In a checkout the Python package also scansartifacts/plugins.🤖 Generated with Claude Code