Example plans¶
This notebook shows all the possible scan configurations.
[1]:
from maria import Planner
from maria.cmb import generate_cmb_patch
cmb_patch = generate_cmb_patch(width=5, center=(150, -45), frame="ra/dec")
planner = Planner(target=cmb_patch, site="llano_de_chajnantor", constraints={"el": (40, 90)})
[2]:
plans = planner.generate_plans(total_duration=900,
scan_type="daisy",
scan_parameters={"radius": 1e0, "speed": 2e-1})
plans[0].plot()
plans[0].plot_hits(instrument="test/1deg")
2026-12-01 06:08:07.320 WARNING: No sample rate passed, assuming 100 Hz
2026-12-01 06:08:09.145 WARNING: No noise level specified for band f090, assuming a sensitivity of 50 uK_RJ√s.
2026-12-01 06:08:09.164 WARNING: No noise level specified for band f150, assuming a sensitivity of 50 uK_RJ√s.
2026-12-01 06:08:09.182 WARNING: No noise level specified for band f220, assuming a sensitivity of 50 uK_RJ√s.
[3]:
plans = planner.generate_plans(total_duration=900,
scan_type="raster",
scan_parameters={"radius": 1e0, "n": [(25, 1), (1, 26)], "speed": 2e-1})
plans[0].plot()
plans[0].plot_hits(instrument="test/1deg")
2026-12-01 06:08:11.804 WARNING: No sample rate passed, assuming 100 Hz
2026-12-01 06:08:12.602 WARNING: No noise level specified for band f090, assuming a sensitivity of 50 uK_RJ√s.
2026-12-01 06:08:12.619 WARNING: No noise level specified for band f150, assuming a sensitivity of 50 uK_RJ√s.
2026-12-01 06:08:12.637 WARNING: No noise level specified for band f220, assuming a sensitivity of 50 uK_RJ√s.
[4]:
plans = planner.generate_plans(total_duration=900,
scan_type="double_circle",
scan_parameters={"radius": 1e0,
"ratio": 0.75,
"speed": 2e-1})
plans[0].plot()
plans[0].plot_hits(instrument="test/1deg")
2026-12-01 06:08:14.991 WARNING: No sample rate passed, assuming 100 Hz
2026-12-01 06:08:15.813 WARNING: No noise level specified for band f090, assuming a sensitivity of 50 uK_RJ√s.
2026-12-01 06:08:15.831 WARNING: No noise level specified for band f150, assuming a sensitivity of 50 uK_RJ√s.
2026-12-01 06:08:15.850 WARNING: No noise level specified for band f220, assuming a sensitivity of 50 uK_RJ√s.
[5]:
plans = planner.generate_plans(total_duration=900,
scan_type="lissajous",
scan_parameters={"x_throw": 1e0,
"y_throw": 0.75,
"speed": 2e-1})
plans[0].plot()
plans[0].plot_hits(instrument="test/1deg")
2026-12-01 06:08:18.075 WARNING: No sample rate passed, assuming 100 Hz
2026-12-01 06:08:18.868 WARNING: No noise level specified for band f090, assuming a sensitivity of 50 uK_RJ√s.
2026-12-01 06:08:18.886 WARNING: No noise level specified for band f150, assuming a sensitivity of 50 uK_RJ√s.
2026-12-01 06:08:18.904 WARNING: No noise level specified for band f220, assuming a sensitivity of 50 uK_RJ√s.