-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #28 from radionets-project/gpu
Gpu
- Loading branch information
Showing
39 changed files
with
1,381 additions
and
1,414 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,88 @@ | ||
Pyvisgen v0.2.0 (2024-04-11) | ||
============================ | ||
|
||
|
||
API Changes | ||
----------- | ||
|
||
|
||
Bug Fixes | ||
--------- | ||
|
||
- fix baseline num calculation | ||
- fix wavelength scaling | ||
- fix lm grid calculation | ||
- fix gridding so that it fits the numpy fft gridding [`#28 <https://github.com/radionets-project/pyvisgen/pull/28>`__] | ||
|
||
|
||
New Features | ||
------------ | ||
|
||
- implement GPU support for visibility calculations | ||
- new grid mode: | ||
- when more than one visibility falls into the same pixel, only the first is calculated | ||
- define grid before calculation | ||
- new dense mode: | ||
- calculate visibilities for a dense uv grid | ||
- simulate ideal interferometer response | ||
- add sensitivity cut in image space: | ||
- avoid calculation of pixel values below detection threshold | ||
- significantly speed-up simulations | ||
- add torch compile to RIME functions [`#28 <https://github.com/radionets-project/pyvisgen/pull/28>`__] | ||
|
||
|
||
Maintenance | ||
----------- | ||
|
||
- delete unused code and relicts | ||
- change from numpy arrays to torch tensors | ||
- change some of the keywords to more common phrases inside the toml config | ||
- update default data_set.toml | ||
- delete old config examples | ||
- avoid torch einsum for better readability of the code [`#28 <https://github.com/radionets-project/pyvisgen/pull/28>`__] | ||
|
||
|
||
Refactoring and Optimization | ||
---------------------------- | ||
|
||
- refactor data classes (Visibilities, Baselines) | ||
- add observation class, which holds all relevant information | ||
- drop scan-wise splitting in visibilities calculations, but split all valid baselines equally | ||
- refactor RIME components (currently only uncorrupted available) [`#28 <https://github.com/radionets-project/pyvisgen/pull/28>`__] | ||
|
||
|
||
Pyvisgen v0.1.4 (2023-11-09) | ||
============================ | ||
|
||
|
||
API Changes | ||
----------- | ||
|
||
|
||
Bug Fixes | ||
--------- | ||
|
||
- - fix shape of `num_ifs` | ||
- delete additional bin in masking | ||
- fix ra dec bug [`#25 <https://github.com/radionets-project/pyvisgen/pull/25>`__] | ||
|
||
|
||
New Features | ||
------------ | ||
|
||
- update ci: | ||
- change conda to mamba | ||
- install towncrier [`#24 <https://github.com/radionets-project/pyvisgen/pull/24>`__] | ||
|
||
|
||
Maintenance | ||
----------- | ||
|
||
- - update readme [`#26 <https://github.com/radionets-project/pyvisgen/pull/26>`__] | ||
|
||
- - add docstrings | ||
- delete unused files [`#27 <https://github.com/radionets-project/pyvisgen/pull/27>`__] | ||
|
||
|
||
Refactoring and Optimization | ||
---------------------------- |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,31 @@ | ||
[sampling_options] | ||
mode = "basic" | ||
mode = "full" | ||
device = "cpu" | ||
seed = 1337 | ||
layout = "vla" | ||
img_size = 128 | ||
fov_center_ra = [100, 110] | ||
fov_center_dec = [30, 40] | ||
fov_size = 100 # max res 0.1 | ||
fov_size = 100 | ||
corr_int_time = 30.0 | ||
scan_start = ["16-01-2020 00:04:01", "16-01-2020 08:59:59"] | ||
scan_duration = [60, 90] | ||
scans = [1, 2] | ||
interval_length = 360 | ||
base_freq = 15.21e9 | ||
frequsel = [0e8, 0.8e8, 1.44e8, 2.08e8] | ||
num_scans = [1, 2] | ||
scan_separation = 360 | ||
ref_frequency = 15.21e9 | ||
frequency_offsets = [0e8, 0.8e8, 1.44e8, 2.08e8] | ||
bandwidths = [6.4e7, 6.4e7, 6.4e7, 6.4e7] | ||
corrupted = true | ||
noisy = 0 | ||
corrupted = false | ||
sensitivity_cut = 1e-6 | ||
|
||
[bundle_options] | ||
in_path = "build/skies/" | ||
in_path = "skies/" | ||
out_path_fits = "build/uvfits" | ||
out_path_gridded = "build/gridded" | ||
num_test_images = 500 | ||
bundle_size = 100 | ||
train_valid_split = 0.2 | ||
grid_size = 128 | ||
amp_phase = true | ||
grid_fov = 100 | ||
amp_phase = false |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
- fix baseline num calculation | ||
- fix wavelength scaling | ||
- fix lm grid calculation | ||
- fix gridding so that it fits the numpy fft gridding |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
- implement GPU support for visibility calculations | ||
- new grid mode: | ||
- when more than one visibility falls into the same pixel, only the first is calculated | ||
- define grid before calculation | ||
- new dense mode: | ||
- calculate visibilities for a dense uv grid | ||
- simulate ideal interferometer response | ||
- add sensitivity cut in image space: | ||
- avoid calculation of pixel values below detection threshold | ||
- significantly speed-up simulations | ||
- add torch compile to RIME functions |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
- delete unused code and relicts | ||
- change from numpy arrays to torch tensors | ||
- change some of the keywords to more common phrases inside the toml config | ||
- update default data_set.toml | ||
- delete old config examples | ||
- avoid torch einsum for better readability of the code | ||
- update `ci.yml` and `workflow.yml` for node20 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
- refactor data classes (Visibilities, Baselines) | ||
- add observation class, which holds all relevant information | ||
- drop scan-wise splitting in visibilities calculations, but split all valid baselines equally | ||
- refactor RIME components (currently only uncorrupted available) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.