Skip to content

Rebased LOFAR parallelism #372

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Mar 21, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions demo/demo.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -1062,7 +1062,7 @@
},
{
"cell_type": "code",
"execution_count": 31,
"execution_count": null,
"metadata": {},
"outputs": [
{
Expand Down Expand Up @@ -1180,7 +1180,7 @@
" in_file=msv2_name,\n",
" out_file=convert_out,\n",
" overwrite=True,\n",
" parallel=True,\n",
" parallel_mode=\"partition\",\n",
")"
]
},
Expand Down Expand Up @@ -9357,7 +9357,7 @@
},
{
"cell_type": "code",
"execution_count": 32,
"execution_count": null,
"metadata": {},
"outputs": [
{
Expand Down Expand Up @@ -9746,7 +9746,7 @@
}
],
"source": [
"import numpy as np \n",
"import numpy as np\n",
"np.abs(ms_xds.VISIBILITY).max().compute()"
]
},
Expand Down
40 changes: 20 additions & 20 deletions dev/review_fs/review_fs.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"cells": [
{
"cell_type": "code",
"execution_count": 3,
"execution_count": null,
"metadata": {},
"outputs": [
{
Expand Down Expand Up @@ -139,7 +139,7 @@
"source": [
"from toolviper.utils.data import download\n",
"download(file=\"ALMA_uid___A002_X1003af4_X75a3.split.avg.ms\") #ALMA Mosaic Ephmeris of the Sun.\n",
"download(file=\"VLBA_TL016B_split.ms\") \n",
"download(file=\"VLBA_TL016B_split.ms\")\n",
"download(file=\"Antennae_North.cal.lsrk.split.ms\")\n",
"download(file=\"SNR_G55_10s.split.ms\")\n",
"# download()"
Expand All @@ -154,7 +154,7 @@
},
{
"cell_type": "code",
"execution_count": 4,
"execution_count": null,
"metadata": {},
"outputs": [
{
Expand Down Expand Up @@ -312,7 +312,7 @@
" in_file=msv2_name,\n",
" out_file=convert_out,\n",
" overwrite=True,\n",
" parallel=False,\n",
" parallel_mode=\"none\",\n",
")\n",
"\n",
"from xradio.measurement_set import open_processing_set\n",
Expand Down Expand Up @@ -849,7 +849,7 @@
},
{
"cell_type": "code",
"execution_count": 6,
"execution_count": null,
"metadata": {},
"outputs": [
{
Expand Down Expand Up @@ -965,7 +965,7 @@
" in_file=msv2_name,\n",
" out_file=convert_out,\n",
" overwrite=True,\n",
" parallel=False,\n",
" parallel_mode=\"none\",\n",
" partition_scheme=[]\n",
")\n",
"\n",
Expand Down Expand Up @@ -1741,7 +1741,7 @@
" in_file=msv2_name,\n",
" out_file=convert_out,\n",
" overwrite=True,\n",
" parallel=False,\n",
" parallel_mode=\"none\",\n",
")\n",
"\n",
"from xradio.measurement_set import open_processing_set\n",
Expand Down Expand Up @@ -2714,7 +2714,7 @@
" in_file=msv2_name,\n",
" out_file=convert_out,\n",
" overwrite=True,\n",
" parallel=False,\n",
" parallel_mode=\"none\",\n",
" partition_scheme=[]\n",
")\n",
"\n",
Expand Down Expand Up @@ -3550,7 +3550,7 @@
},
{
"cell_type": "code",
"execution_count": 8,
"execution_count": null,
"metadata": {},
"outputs": [
{
Expand Down Expand Up @@ -3882,7 +3882,7 @@
" in_file=msv2_name,\n",
" out_file=convert_out,\n",
" overwrite=True,\n",
" parallel=False,\n",
" parallel_mode=\"none\",\n",
")\n",
"\n",
"from xradio.measurement_set import open_processing_set\n",
Expand Down Expand Up @@ -4476,7 +4476,7 @@
},
{
"cell_type": "code",
"execution_count": 10,
"execution_count": null,
"metadata": {},
"outputs": [
{
Expand Down Expand Up @@ -4646,7 +4646,7 @@
" in_file=msv2_name,\n",
" out_file=convert_out,\n",
" overwrite=True,\n",
" parallel=False,\n",
" parallel_mode=\"none\",\n",
" partition_scheme=[]\n",
")\n",
"\n",
Expand Down Expand Up @@ -5244,7 +5244,7 @@
},
{
"cell_type": "code",
"execution_count": 12,
"execution_count": null,
"metadata": {},
"outputs": [
{
Expand Down Expand Up @@ -5644,7 +5644,7 @@
" out_file=convert_out,\n",
" overwrite=True,\n",
" ephemeris_interpolate=True,\n",
" parallel=False,\n",
" parallel_mode=\"none\",\n",
")\n",
"\n",
"from xradio.measurement_set import open_processing_set\n",
Expand Down Expand Up @@ -6700,7 +6700,7 @@
},
{
"cell_type": "code",
"execution_count": 14,
"execution_count": null,
"metadata": {},
"outputs": [
{
Expand Down Expand Up @@ -7190,7 +7190,7 @@
" in_file=msv2_name,\n",
" out_file=convert_out,\n",
" overwrite=True,\n",
" parallel=False,\n",
" parallel_mode=\"none\",\n",
" partition_scheme=[]\n",
")\n",
"\n",
Expand All @@ -7201,7 +7201,7 @@
},
{
"cell_type": "code",
"execution_count": 15,
"execution_count": null,
"metadata": {},
"outputs": [
{
Expand Down Expand Up @@ -7773,7 +7773,7 @@
}
],
"source": [
"ps[\"ALMA_uid___A002_X1003af4_X75a3.split.avg_09\"].VISIBILITY.field_and_source_xds "
"ps[\"ALMA_uid___A002_X1003af4_X75a3.split.avg_09\"].VISIBILITY.field_and_source_xds"
]
},
{
Expand Down Expand Up @@ -10462,7 +10462,7 @@
},
{
"cell_type": "code",
"execution_count": 19,
"execution_count": null,
"metadata": {},
"outputs": [
{
Expand Down Expand Up @@ -11658,7 +11658,7 @@
" in_file=msv2_name,\n",
" out_file=convert_out,\n",
" overwrite=True,\n",
" parallel=False,\n",
" parallel_mode=\"none\",\n",
" ephemeris_interpolate=True,\n",
" partition_scheme=[]\n",
")\n",
Expand Down
4 changes: 2 additions & 2 deletions docs/source/measurement_set/guides/ALMA_SD.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -928,7 +928,7 @@
},
{
"cell_type": "code",
"execution_count": 6,
"execution_count": null,
"metadata": {},
"outputs": [
{
Expand Down Expand Up @@ -967,7 +967,7 @@
"convert_msv2_to_processing_set(\n",
" in_file=ms_file,\n",
" out_file=ps_store,\n",
" parallel=True,\n",
" parallel_mode=\"partition\",\n",
" overwrite=True,\n",
")"
]
Expand Down
4 changes: 2 additions & 2 deletions docs/source/measurement_set/guides/ALMA_ephemeris.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@
},
{
"cell_type": "code",
"execution_count": 3,
"execution_count": null,
"id": "ee52d124-2c17-450b-879f-1f86f0ae265c",
"metadata": {},
"outputs": [
Expand Down Expand Up @@ -210,7 +210,7 @@
"convert_msv2_to_processing_set(\n",
" in_file=ms_file,\n",
" out_file=outfile,\n",
" parallel=False,\n",
" parallel_mode=\"none\",\n",
" overwrite=True,\n",
" main_chunksize=main_chunksize,\n",
")"
Expand Down
4 changes: 2 additions & 2 deletions docs/source/measurement_set/guides/GBT_single_dish.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@
},
{
"cell_type": "code",
"execution_count": 3,
"execution_count": null,
"id": "ee52d124-2c17-450b-879f-1f86f0ae265c",
"metadata": {},
"outputs": [
Expand All @@ -145,7 +145,7 @@
"convert_msv2_to_processing_set(\n",
" in_file=ms_file,\n",
" out_file=outfile,\n",
" parallel=False,\n",
" parallel_mode=\"none\",\n",
" overwrite=True,\n",
" main_chunksize=main_chunksize,\n",
")"
Expand Down
4 changes: 2 additions & 2 deletions docs/source/measurement_set/guides/GMRT.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@
},
{
"cell_type": "code",
"execution_count": 13,
"execution_count": null,
"id": "87431f1b-b94d-442a-88b4-936f74be530c",
"metadata": {},
"outputs": [
Expand All @@ -132,7 +132,7 @@
"convert_msv2_to_processing_set(\n",
" in_file=ms_file,\n",
" out_file=outfile,\n",
" parallel=False,\n",
" parallel_mode=\"none\",\n",
" overwrite=True,\n",
" main_chunksize=main_chunksize,\n",
")"
Expand Down
4 changes: 2 additions & 2 deletions docs/source/measurement_set/guides/LOFAR.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@
},
{
"cell_type": "code",
"execution_count": 15,
"execution_count": null,
"id": "ee52d124-2c17-450b-879f-1f86f0ae265c",
"metadata": {},
"outputs": [
Expand All @@ -148,7 +148,7 @@
"convert_msv2_to_processing_set(\n",
" in_file=ms_file,\n",
" out_file=outfile,\n",
" parallel=False,\n",
" parallel_mode=\"none\",\n",
" overwrite=True,\n",
" main_chunksize=main_chunksize,\n",
")"
Expand Down
4 changes: 2 additions & 2 deletions docs/source/measurement_set/guides/MeerKAT.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@
},
{
"cell_type": "code",
"execution_count": 15,
"execution_count": null,
"id": "ee52d124-2c17-450b-879f-1f86f0ae265c",
"metadata": {},
"outputs": [
Expand Down Expand Up @@ -151,7 +151,7 @@
"convert_msv2_to_processing_set(\n",
" in_file=ms_file,\n",
" out_file=outfile,\n",
" parallel=False,\n",
" parallel_mode=\"none\",\n",
" overwrite=True,\n",
" main_chunksize=main_chunksize,\n",
")"
Expand Down
4 changes: 2 additions & 2 deletions docs/source/measurement_set/guides/SKA_mid.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@
},
{
"cell_type": "code",
"execution_count": 9,
"execution_count": null,
"id": "ee52d124-2c17-450b-879f-1f86f0ae265c",
"metadata": {},
"outputs": [
Expand All @@ -149,7 +149,7 @@
"convert_msv2_to_processing_set(\n",
" in_file=ms_file,\n",
" out_file=outfile,\n",
" parallel=False,\n",
" parallel_mode=\"none\",\n",
" overwrite=True,\n",
" main_chunksize=main_chunksize,\n",
")"
Expand Down
4 changes: 2 additions & 2 deletions docs/source/measurement_set/guides/VLBA.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@
},
{
"cell_type": "code",
"execution_count": 4,
"execution_count": null,
"id": "ee52d124-2c17-450b-879f-1f86f0ae265c",
"metadata": {},
"outputs": [
Expand Down Expand Up @@ -174,7 +174,7 @@
"convert_msv2_to_processing_set(\n",
" in_file=ms_file,\n",
" out_file=outfile,\n",
" parallel=False,\n",
" parallel_mode=\"none\",\n",
" overwrite=True,\n",
" main_chunksize=main_chunksize,\n",
")"
Expand Down
4 changes: 2 additions & 2 deletions docs/source/measurement_set/guides/VLBI.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@
},
{
"cell_type": "code",
"execution_count": 3,
"execution_count": null,
"id": "ee52d124-2c17-450b-879f-1f86f0ae265c",
"metadata": {},
"outputs": [
Expand Down Expand Up @@ -168,7 +168,7 @@
"convert_msv2_to_processing_set(\n",
" in_file=ms_file,\n",
" out_file=outfile,\n",
" parallel=False,\n",
" parallel_mode=\"none\",\n",
" overwrite=True,\n",
" main_chunksize=main_chunksize,\n",
")"
Expand Down
4 changes: 2 additions & 2 deletions docs/source/measurement_set/guides/ngEHT.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@
},
{
"cell_type": "code",
"execution_count": 16,
"execution_count": null,
"id": "ee52d124-2c17-450b-879f-1f86f0ae265c",
"metadata": {},
"outputs": [
Expand Down Expand Up @@ -165,7 +165,7 @@
"convert_msv2_to_processing_set(\n",
" in_file=ms_file,\n",
" out_file=outfile,\n",
" parallel=False,\n",
" parallel_mode=\"none\",\n",
" overwrite=True,\n",
" main_chunksize=main_chunksize,\n",
")"
Expand Down
Loading
Loading