Skip to content

Commit e68e15e

Browse files
committed
Clean up the docs
1 parent 14e2e58 commit e68e15e

File tree

2 files changed

+11
-7
lines changed

2 files changed

+11
-7
lines changed

docs/src/index.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@ The goal is to allow the user to easily combine and modify a set of primitive mo
99
to construct complicated source structures. The benefit of this approach is that it is straightforward to construct different source models out of these primitives. Namely, an end-user does
1010
not have to create a separate source "model" every time they
1111
change the model specification. Additionally, most models currently implemented are differentiable with at Zygote and sometimes ForwardDiff[^2]. This allows for gradient accelerated optimization and sampling (e.g., HMC) to be used with little
12-
effort by the end user.
13-
To sample from the posterior, we provide a somewhat barebones interface since, most of the time, and we don't require the additional features offered by most PPLs. Additionally, the overhead introduced by PPLs tends to be rather large. In the future, we may revisit this as
12+
effort by the end user. To sample from the posterior, we provide a somewhat barebones interface since, most of the time, and we don't require the additional features offered by most PPLs. Additionally, the overhead introduced by PPLs tends to be rather large. In the future, we may revisit this as
1413
Julia's PPL ecosystem matures.
1514

1615
!!! note
@@ -19,14 +18,17 @@ Julia's PPL ecosystem matures.
1918

2019
## Tutorials
2120

21+
Our tutorial section currently has a large number of examples. The simplest example is fitting simple geometric models to the 2017 M87 data and is detailed in the [Geometric Modeling of EHT Data tutorial](@ref). We also include "non-parametric" modeling or imaging examples in [Imaging a Black Hole using only Closure Quantities](@ref), and [Stokes I Simultaneous Image and Instrument Modeling](@ref). There is also an introduction to hybrid geometric and image modeling in [Hybrid Imaging of a Black Hole](@ref), which combines physically motivated geometric modeling with the flexibility of image-based models. Finally, we
22+
provide a tutorial on how to use `Comrade` to model polarized data including simultaneously solving for
23+
the image and instrumental effects like gain ratios and leakage terms in [Polarized Image and Instrumental Modeling](@ref).
24+
25+
2226

2327
## Contributing
2428

2529
This repository has recently moved to [ColPrac](https://github.com/SciML/ColPrac). If you would like to contribute please feel free to open a issue or pull-request.
2630

27-
[^2]: As of 0.9 Comrade switched to using full covariance closures. As a result this requires a sparse cholesky solve in the likelihood evaluation which requires
28-
a Dual number overload. As a result we recommend using Zygote which does work and
29-
often is similarly performant (reverse 3-6x slower compared to the forward pass).
31+
[^2]: As of 0.9 Comrade switched to using full covariance closures. As a result this requires a sparse cholesky solve in the likelihood evaluation which requires which isn't defined in ForwardDiff. As a result we recommend using Zygote which does work and often is similarly performant (reverse pass is 3-6x slower compared to the forward pass).
3032

3133
## Requirements
3234

lib/ComradeAHMC/src/ComradeAHMC.jl

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,7 @@ To initialize the chain the user can set `initial_params` to `Vector{NamedTuple}
115115
elements are the starting locations for each of the `nchains`. If no starting location
116116
is specified `nchains` random samples from the prior will be chosen for the starting locations.
117117
118+
118119
For possible `kwargs` please see the [`AdvancedHMC.jl docs`](https://github.com/TuringLang/AdvancedHMC.jl)
119120
120121
This returns a `PosteriorSamples` object indexed as iteration × chain.
@@ -234,8 +235,9 @@ elements are the starting locations for each of the `nchains`. If no starting lo
234235
is specified `nchains` random samples from the prior will be chosen for the starting locations.
235236
236237
With `saveto` the user can optionally specify whether to store the samples in memory `MemoryStore`
237-
or save directly to disk with `DiskStore(filename, stride)`. The `stride` controls how often t
238-
he samples are dumped to disk.
238+
or save directly to disk with `DiskStore(filename, stride)`. The `stride` controls how often
239+
the samples are dumped to disk. In addition is saving to disk the user can also resume a
240+
previous run by setting `restart=true`.
239241
240242
For possible `kwargs` please see the [`AdvancedHMC.jl docs`](https://github.com/TuringLang/AdvancedHMC.jl)
241243

0 commit comments

Comments
 (0)