Repository navigation
Releases: ska-sci-ops/aa_uv
Release list
3.0.0
2.1.0
Merge pull request #67 from ska-sci-ops/ruff-lint Linting: fitter, happier, more productive
1.6.0
Merge pull request #35 from ska-sci-ops/dcp_1.6.0 Refactor for 1.6.0 release
1.4.1
Changelog:
PR #15
- Updated install scripts. Repo now includes a
environment.ymlfile for building a conda environment, and missing dependencies added to thepyproject.toml. - Corrected AAVS2 antenna locations. These had been replaced with AAVS3 locations, causing imager + calibration to fail.
- Update tests. The tests were calling for data not stored within the repo; paths have been updated.
PR #20
This addresses #19, in which UVW coordinates were incorrectly generated.
The fix was to use pyuvdata routines to calculate UVW coordinates, instead of relying on the call to create_visibility in SDP. The create_visibility function seems to really only be designed for simulation, so we need to calculate UVW ourselves and then call the Visibility.contructor().
PR #21
-
Improvement of UV data tracking
Introduced a new attributecontextto the UV dataclass in thevisibility.pyfile. This attribute contains additional information such as intent, date, notes, and the observer for improved data tracking. -
Function availability for context and provenance dictionary creation
Added two new functions invisibility.pyto create empty context and provenance dictionaries. These are convenient functions used in handling UV data. -
New Data Model File for Visibility
Added a newvisibility.yamlfile to the data model directory. This enhances the model representation of visibility data. -
Enhancement of
hdf5_to_uvfunction with context
The functionhdf5_to_uvin theaavs_hdf5.pyfile has been upgraded to accept acontextparameter. The function now creates a UV object using thecontextkey, which enhances data tracking and management. -
Added Specific Features in the UV data representation
Thehdf5_to_uvfunction also now sets attributes for time and frequency resolution, as well as an oversampled flag for frequency. This provides richer and more detailed UV data representations. -
Improved HDF5 file Handling
The function_create_dsetinaavs_uv5.pyhas been altered to include acontextgroup to the HDF5 file it creates. Concurrently, theuv5_to_uvfunction within the same file has been modified to read this context from the HDF5 file, improving the efficiency and convenience of our HDF5 file handling. -
Context Testing
Thetest_roundtripfunction intest_uv5.pyhas been updated to include a test for context passing through roundtrip conversion. This ensures the context attribute works correctly.
PR #22
-
Modifications to
pyproject.tomlfile- This file controls various settings for Python projects. In this case, we've added a new dependency called
tqdm, which is a library that provides progress bars for Python programs, thus enhancing the user experience.
- This file controls various settings for Python projects. In this case, we've added a new dependency called
-
Changes in
converter.pyfile- More functional flexibilities have been developed. These include:
- Enabling batch processing, which allows us to handle multiple files or tasks at once, hence increasing efficiency.
- Rigorous control over file extensions and a context YAML file. This will allow the user to have more control over what files get processed and the type of processing they undergo.
- More functional flexibilities have been developed. These include:
-
Updates to
visibility.pyfile- Added a tracking capability called 'execution_block' in the process. This key will help to better understand the processing stages of the data, ultimately helping to debug and optimize.
-
Additions to
aavs_hdf5.pyfile- Introduced a function to streamline the creation of a 'provenance' dictionary. This dictionary holds the history of any changes made to the data, which aids in tracking data transformations and ensuring data integrity.
-
Enhancements in
aavs_hdf5_sdp.pyfile- Amended an attribute name which now accurately represents the data it holds, i.e.,
channel_bandwidth. This reduces confusion and enhances readability.
- Amended an attribute name which now accurately represents the data it holds, i.e.,
-
Revision in
utils.pyfile- Improved the version checking process by including the version status of the
erfalibrary, thus ensuring that the software used is up-to-date and secure.
- Improved the version checking process by including the version status of the
-
Updates to
test_converter.pyfile- To ensure the new functionalities work properly, two new test cases were added. These tests cover the introduced batch processing and YAML functionalities; thus, ensuring robustness and reliability of the application.
Issue #23
- added
-Bflag for processing of subdirectories withaavs_uv
1.3.0
Fix for conjugating data by default during conversion, as needed by AAVS2+3.