|
17 | 17 | "import maria\n", |
18 | 18 | "from maria.io import fetch\n", |
19 | 19 | "\n", |
20 | | - "input_map = maria.map.load(fetch(\"maps/cluster2.fits\"), nu=150e9)\n", |
| 20 | + "input_map = maria.map.load(fetch(\"maps/cluster1.fits\"), nu=150e9).to(\"uK_RJ\")\n", |
21 | 21 | "input_map.data *= 2e1\n", |
22 | 22 | "\n", |
23 | | - "input_map[..., 256:-256, 256:-256].to(\"K_RJ\").plot(cmap=\"cmb\")\n", |
| 23 | + "input_map.plot(cmap=\"cmb\")\n", |
24 | 24 | "print(input_map)" |
25 | 25 | ] |
26 | 26 | }, |
|
33 | 33 | "from maria import Planner\n", |
34 | 34 | "\n", |
35 | 35 | "planner = Planner(target=input_map, site=\"cerro_toco\", constraints={\"el\": (70, 90)})\n", |
36 | | - "plans = planner.generate_plans(total_duration=900, \n", |
37 | | - " max_chunk_duration=900, \n", |
38 | | - " sample_rate=50,\n", |
| 36 | + "plans = planner.generate_plans(total_duration=3600, \n", |
| 37 | + " max_chunk_duration=3600, \n", |
| 38 | + " sample_rate=25,\n", |
39 | 39 | " scan_options={\"radius\": input_map.width.deg / 2})\n", |
40 | 40 | "\n", |
41 | 41 | "plans[0].plot()\n", |
|
58 | 58 | " knee=1e1, \n", |
59 | 59 | " gain_error=2e-2)\n", |
60 | 60 | "\n", |
61 | | - "array = {\"field_of_view\": 0.2, \n", |
| 61 | + "array = {\"field_of_view\": 0.15, \n", |
62 | 62 | " \"beam_spacing\": 1.25,\n", |
63 | 63 | " \"primary_size\": 25, \n", |
64 | 64 | " \"shape\": \"circle\",\n", |
|
107 | 107 | "from maria.mappers import MaximumLikelihoodMapper\n", |
108 | 108 | "\n", |
109 | 109 | "ml_mapper = MaximumLikelihoodMapper(tods=tods, \n", |
110 | | - " width=0.75 * input_map.width.deg,\n", |
111 | | - " height=0.75 * input_map.height.deg,\n", |
| 110 | + " width=0.8 * input_map.width.deg,\n", |
| 111 | + " height=0.8 * input_map.height.deg,\n", |
112 | 112 | " resolution=10 * input_map.resolution.deg,\n", |
113 | 113 | " units=\"mK_RJ\")\n", |
114 | 114 | "print(f\"{ml_mapper.loss() = }\")" |
|
0 commit comments