Workspace tour#

The autolens workspace contains examples and datasets for modelling strong lenses. Use this page to find where things live; the workspace README has the full directory guide.

Find an example#

Start with the New User Guide to choose an example for your observations. Open its notebook to read and run it, or use the matching Python script where provided.

Where files live#

Folder

What you use it for

notebooks/

Worked examples with explanations, code and figures.

scripts/

Python versions to run and adapt for your analysis.

dataset/

Example observations and inputs used by the scripts.

config/

Overrides for priors, plots, output and other defaults. See Configuration.

output/

Results written when you run a fit. The search’s name and path settings organize each analysis.

Run local examples from the workspace root so their relative dataset and configuration paths resolve. If you need to set up the workspace, follow the existing installation guide.

SLaM pipelines#

For analyses that fit the source, lens light and mass in stages, see the SLaM examples. Start with a basic imaging fit before adapting a pipeline.

Next steps#

If you use the AI Assistant, you can ask:

I have [describe your observations] and want to model [describe the objects]. Find a matching workspace example, explain its inputs, and show me which parts I need to adapt.