physicskit.relativity: textbook coverage
========================================
.. include:: /_generated/nav/relativity.rst
The chapters of the standard graduate general relativity text, mapped to :mod:`physicskit.relativity`.
**Textbook:** S. M. Carroll, *Spacetime and Geometry: An Introduction to General Relativity* (Addison-Wesley, 2004; Cambridge University Press, 2019).
**Table of contents checked against:** `the author's contents page `__ (chapters and sections), numbered from the `Cambridge description `__.
**Summary:** 9 chapters -- 4 covered, 4 partly covered, 1 missing.
**Cosmology.** Against B. Ryden, *Introduction to Cosmology*, 2nd ed. (Cambridge University Press, 2017; `front matter `__): :class:`~physicskit.relativity.FLRWCosmology` covers chapters 3 to 6 (the Robertson-Walker metric, the Friedmann equation, model universes and distances). Chapter 7 (dark matter and lensing) is split between :mod:`physicskit.relativity.chapters.lensing` and the rotation curves in :doc:`astro`; chapter 11 (structure formation) is partly in :mod:`physicskit.astro.cosmic_web`. Chapters 8 (the CMB) and 9 (nucleosynthesis) are ROADMAP item 19; chapters 10 (inflation) and 12 (baryons and the first stars) belong to the unscheduled ``cosmology`` candidate domain in ROADMAP.md.
.. list-table::
:header-rows: 1
:widths: 30 14 56
:class: coverage-table
* - Chapter
- Status
- physicskit
* - 1. Special Relativity and Flat Spacetime
- :bdg-success:`covered`
- :mod:`relativity.chapters.special `
Examples: :ref:`sphx_glr_api_gallery_relativity_special_relativity_plot_minkowski_interval_twin_paradox.py`, :ref:`sphx_glr_api_gallery_relativity_special_relativity_plot_einstein_simultaneity_dilation_contraction.py`, :ref:`sphx_glr_api_gallery_relativity_special_relativity_plot_einstein_velocity_addition_doppler_aberration.py`, :ref:`sphx_glr_api_gallery_relativity_special_relativity_plot_michelson_morley_null_result.py`
Maxwell's equations in tensor form are in :doc:`fields`.
* - 2. Manifolds
- :bdg-warning:`partly covered`
- :mod:`relativity.core.tensors `
Examples: :ref:`sphx_glr_api_gallery_relativity_spacetime_geometry_plot_flamm_paraboloid.py`
Metrics, coordinate charts and tensor index gymnastics are covered; differential forms and integration on manifolds are not implemented.
* - 3. Curvature
- :bdg-success:`covered`
- :mod:`relativity.core.tensors `, :mod:`relativity.core.geodesics `
Examples: :ref:`sphx_glr_api_gallery_relativity_spacetime_geometry_plot_curvature_engine_validation.py`, :ref:`sphx_glr_api_gallery_relativity_schwarzschild_plot_tidal_forces.py`
* - 4. Gravitation
- :bdg-warning:`partly covered`
- :mod:`relativity.core.tensors `
Examples: :ref:`sphx_glr_api_gallery_relativity_spacetime_geometry_plot_adm_initial_data.py`
The Einstein tensor of any metric and initial data are computed; the Lagrangian formulation and energy conditions have no code.
* - 5. The Schwarzschild Solution
- :bdg-success:`covered`
- :mod:`relativity.chapters.schwarzschild `, :mod:`relativity.chapters.timekeeping `
Examples: :ref:`sphx_glr_api_gallery_relativity_schwarzschild_plot_orbit_precession.py`, :ref:`sphx_glr_api_gallery_relativity_schwarzschild_plot_light_bending_and_shadow.py`, :ref:`sphx_glr_api_gallery_relativity_schwarzschild_plot_eddington_eclipse_deflection.py`, :ref:`sphx_glr_api_gallery_relativity_schwarzschild_plot_gps_relativistic_correction.py`, :ref:`sphx_glr_api_gallery_relativity_schwarzschild_plot_radial_infall_and_singularity.py`, :ref:`sphx_glr_api_gallery_relativity_spacetime_geometry_plot_kruskal_penrose_diagrams.py`, :ref:`sphx_glr_api_gallery_relativity_neutron_star_plot_tov_mass_radius.py`
* - 6. More General Black Holes
- :bdg-warning:`partly covered`
- :mod:`relativity.chapters.kerr `, :mod:`relativity.chapters.kerr_newman `
Examples: :ref:`sphx_glr_api_gallery_relativity_kerr_plot_ergosphere_and_penrose.py`, :ref:`sphx_glr_api_gallery_relativity_kerr_plot_penrose_energy_extraction.py`, :ref:`sphx_glr_api_gallery_relativity_kerr_plot_kerr_shadow_and_redshift.py`, :ref:`sphx_glr_api_gallery_relativity_kerr_newman_plot_kerr_newman_shadow_and_geodesics.py`
Reissner-Nordström, Kerr and the Penrose process are covered; black-hole thermodynamics (6.7) is ROADMAP item 19.
* - 7. Perturbation Theory and Gravitational Radiation
- :bdg-success:`covered`
- :mod:`relativity.chapters.gw_merger `
Examples: :ref:`sphx_glr_api_gallery_relativity_gravitational_waves_plot_einstein_quadrupole_waves.py`, :ref:`sphx_glr_api_gallery_relativity_gravitational_waves_plot_hulse_taylor_decay.py`, :ref:`sphx_glr_api_gallery_relativity_gravitational_waves_plot_binary_merger_chirp.py`, :ref:`sphx_glr_api_gallery_relativity_gravitational_waves_plot_gw170817_neutron_star_merger.py`
* - 8. Cosmology
- :bdg-warning:`partly covered`
- :mod:`relativity.chapters.cosmology `, :mod:`relativity.chapters.lensing `
Examples: :ref:`sphx_glr_api_gallery_relativity_cosmology_plot_flrw_expansion.py`, :ref:`sphx_glr_api_gallery_relativity_lensing_plot_einstein_ring_and_microlensing.py`
Robertson-Walker models, distances and lensing are covered; inflation (8.8) is not (see the cosmology note above).
* - 9. Quantum Field Theory in Curved Spacetime
- :bdg-danger:`missing`
- ROADMAP item 19 (Hawking temperature, Bekenstein-Hawking entropy and evaporation). The Unruh effect is not planned.