API reference#
Reference to croak’s physics, retrieval and workflow interfaces, generated from NumPy-style docstrings. The pages group the package by role; the quickstart and user guide show these APIs in context. The examples provide runnable calculations, and the developer’s guide explains how to contribute to the package.
The headline API is importable from the top-level croak namespace
(e.g. croak.Grid, croak.retrieve, croak.load_and_clean); the submodules
(croak.maths, croak.materials, croak.metrics, …) are also exposed directly. The
individual solver classes are normally selected by name through
croak.retrieve() rather than imported — the registry
croak.retrieve.ALGORITHMS maps each algorithm string to its class.
Terms used throughout the manual are defined in the glossary, and the papers and published methods behind croak are listed in the references. Units, sign conventions and the FFT convention are collected under conventions.
- Core physics
- Retrieval
- Workflow
- Plotting
PlotScaleFULL_SCALEFONT_SCALE_MINFONT_SCALE_STEPCOMPACT_BELOWplot_scale()scaled_rc()cmap_white()cmap_negwhite()signed_pcolormesh()si_power()sig3()plot_residual()plot_temporal()plot_spectral()SPECTRAL_AXESEDGE_ENERGY_WARNplot_convergence()plot_marginal()plot_spectrogram()plot_retrieval()RetrievalPlotDataretrieval_plot_data()TraceArtistsResidualArtistsTemporalArtistsSpectralArtistsConvergenceArtistsLineArtistsMarginalArtistsSpectrogramArtistsPanelSpecPageSpecColorbarSpecRETRIEVAL_PANELSRETRIEVAL_COLORBARSRETRIEVAL_PAGESRETRIEVAL_OVERVIEWplot_retrieval_page()draw_measured_log()draw_retrieved_log()draw_measured_lin()draw_retrieved_lin()draw_temporal()draw_spectral()draw_convergence()draw_residual()draw_spectral_filter()draw_freq_marginal()draw_delay_marginal()draw_spectrogram()update_measured_log()update_retrieved_log()update_measured_lin()update_retrieved_lin()update_temporal()update_spectral()update_convergence()update_convergence_curve()update_residual()update_spectral_filter()update_freq_marginal()update_delay_marginal()update_spectrogram()RetrievalPageViewplot_frog_filter()filter_view_vmax()FrogFilterViewplot_simulated_trace()plot_fwhm_distribution()plot_intensity_band()plot_uncertainty()
- JAX backend
Map of the package#
Area |
Modules |
|---|---|
|
|
|
|
|
|