SL-LoS-Mock v0.0.1: Mock image and time delay time with Line-of-Sight Effect
Authors/Creators
Description
This is the mock data and corresponding code associated with the manuscript Impact of Large-Scale Structure along Line-of-Sight on Time-Delay Cosmography, e-Print: 2509.26382.
Table of contents
SL-LoS-Mock
=======
### Here is the supporting code for arxiv: 2509.26382.
This repository contains the supporting code for arxiv: 2509.26382.
There are **four main folders**. To run the code, you first need the **Elucid simulation data**, available at [https://www.elucid-project.com](https://www.elucid-project.com).
The ray-tracing part was developed by **Chengliang Wei**.
---
#### 1. simu2lc
The `simu2lc` folder is used to generate the light cone from simulation data.
To compile and run:
```bash
gcc -lm main.c
./a.out
```
- The output file is specified at **line 248** of `main.c`.
- **Note:** This file contains the *filling order of subboxes*, not the full light cone.
The full light cone includes the dark matter particles.
- For higher precision, Chengliang split the **N-body 500 Mpc box** into **100 Mpc subboxes** (in this demo).
To access these subbox data files, please contact **linsj999@outlook.com** for collaboration.
#### 2. raytracing
1. Run **`cal_lensing_signals.py`** or **`cal_lensing_signals_middel.py`** to calculate:
- Deflection angles
- Lensing potential
- Magnification matrix for each plane
2. Run **`raytracing_all.py`** to perform ray tracing and obtain the **ray positions on each plane**.
#### 3.CodeMock
This folder contains the code for generating the **final mock data** from the ray-tracing output.
To add **noise** and apply the **PSF** to each image, we use the [**Lenstronomy:** https://lenstronomy.readthedocs.io](https://lenstronomy.readthedocs.io) package.
#### 4. mock_image
The `mock_image` folder contains **100 mock datasets**:
- `image_data.npz` → Lensing images
- `PointSources.npz` → Point source positions and time delays
##### For questions, collaborations, or requests to use the code, please contact me at **linsj999@outlook.com**.
Files
LinSJ-astronomy/SL-LoS-Mock-v0.0.1.zip
Files
(60.8 MB)
| Name | Size | Download all |
|---|---|---|
|
md5:36be1ed83437d2997fb625d5c7824ae3
|
60.8 MB | Preview Download |
Additional details
Related works
- Is supplement to
- Software: https://github.com/LinSJ-astronomy/SL-LoS-Mock/tree/v0.0.1 (URL)
Software
- Repository URL
- https://github.com/LinSJ-astronomy/SL-LoS-Mock