Moved dedoppler function to a new class
The dedoppler function is now part of the DedopplerMan class for improved organization.
Added a base class for kernel management
A new file, kernel_manager.py, has been introduced, which serves as a base class for kernel management in hyperseti/kernels/.
Switched to PeakFinderMan in peak_finder
The peak_finder now uses the PeakFinderMan class instead of calling peak_find directly. This benefits overall code design.
Modified blanking hits implementation
The blanking hits function now has its own loop over time samples within each beam rather than calling blank hit directly. This provides better functionality and flexibility.
Inheritance changes in PeakFinder
The PeakFinder class now inherits from KernelManager, leading to a more structured and organized code.
Introduced SmearCorrMan class for smearing correction
A new SmearCorrMan class has been added for handling smearing correction kernel management.
Optimized GPU memory allocation and deallocation
GPU memory allocation is now managed within the workspace dictionary of each object, and a del method has been added for clean memory release after use.
Removed redundant code
Some init() methods and redundant code have been removed from peak_finder and smear corr kernels, as they are now managed by their parent classes. This results in cleaner code.
Added test for smear_corr kernel
A new test has been added for the smear_corr kernel to ensure its proper functioning.
Fixed frequency axis bug in dedoppler
An issue with the frequency axis while using a custom plan (e.g., optimal) in dedoppler has been resolved.
PR Summary
Moved dedoppler function to a new class The dedoppler function is now part of the DedopplerMan class for improved organization.
Added a base class for kernel management A new file, kernel_manager.py, has been introduced, which serves as a base class for kernel management in hyperseti/kernels/.
Switched to PeakFinderMan in peak_finder The peak_finder now uses the PeakFinderMan class instead of calling peak_find directly. This benefits overall code design.
Modified blanking hits implementation The blanking hits function now has its own loop over time samples within each beam rather than calling blank hit directly. This provides better functionality and flexibility.
Inheritance changes in PeakFinder The PeakFinder class now inherits from KernelManager, leading to a more structured and organized code.
Introduced SmearCorrMan class for smearing correction A new SmearCorrMan class has been added for handling smearing correction kernel management.
Optimized GPU memory allocation and deallocation GPU memory allocation is now managed within the workspace dictionary of each object, and a del method has been added for clean memory release after use.
Removed redundant code Some init() methods and redundant code have been removed from peak_finder and smear corr kernels, as they are now managed by their parent classes. This results in cleaner code.
Added test for smear_corr kernel A new test has been added for the smear_corr kernel to ensure its proper functioning.
Fixed frequency axis bug in dedoppler An issue with the frequency axis while using a custom plan (e.g., optimal) in dedoppler has been resolved.