-
Notifications
You must be signed in to change notification settings - Fork 8
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
Notebooks #906
Comments
Hi Nico, As you may have noticed, those notebooks haven't been updated in 5 years but the interfaces have changed considerably in that time to adapt to the needs of HERA analysis. In particular, the wrapper around the C of the old omnical (written by Jeff Zheng) has been completely deprecated. So in short, I don't think the notebook/memo can be trivially updated. If you really want to run this memo, I'd suggest checking out an old commit of this repo and trying that. I'm not sure how old you have to go and what version of related software you'd also need to check out to make that work. Might be very annoying to actually get it to run without errors, so fair warning. In general, this repo is meant more as a way for HERA team members to collaborate and a version-controlled record of how HERA analysis was performed, rather than a public resource for the broader astronomical community (which comes with certain expectations about interface stability, deprecation warnings, release notes, etc.) We just don't have the person-power to do that right now. That said, if our codebase can be helpful to others, we certainly want to share! Perhaps you can tell me more about what you're trying to do and I can point you in the right direction? One thing I'll also note is that I think that that's notebook description of omnical as "linsolve based" is a bit misleading. It does use that code, but doesn't actually use any of the solvers in that code---just the infrastructure for setting up systems of equations. You can read more about what omnical is doing here: https://arxiv.org/abs/2003.08399 |
Hi Josh, thanks a lot for your quick and detailed answer ! I fully understand the issue of not having enough person-power. I was expecting this to be the issue but I thought I would simply ask what was the status of the notebooks. I'm working with people from ASTRON in the Netherlands, and in particular Chris Broekema @broekema. We are exploring the possibility of integrating quantum computing in various radio astronomy pipelines. We are not expecting any advantages nor speed up given the current status of the technology, but we want to illustrate the role that quantum computers could play in the future. One of the option we have explored is to simply replace the linear solvers used in redcal by quantum linear solvers. We have recently finished implementing one quantum solver that can be deployed on near term quantum chips (IBM-Quantum machines) and we are now starting to integrate it in We are finishing the paper and I would like to have an integration use case where we use our quantum solvers on real data. I was hoping to use the examples in So if you have an example where hera_cal is used to perform calibration on a small amount of data and if you are willing to point me in its direction that would be very much appreciated ! Thanks a lot ! |
That's super cool! Sounds very futuristic, but I'm glad someone is exploring the idea of using quantum computers for radio astronomy. So the big question here is precisely which algorithms you want to compare. There's:
In our current calibration of HERA data, we're only using Line 847 in d0e61fa
|
Hi Josh, I was targeting the Thanks for your time ! |
Hi Nico, Let me see if I can throw together a script/notebook that does what you want using more up-to-date code. -Josh |
Hi Nico, Here's a basic script that demonstrates redundant-baseline calibration. It generates a 61-element array with reasonable true gains and foregrounds, then performs calibration and shows that you can get out what you put in (after fixing some of the degeneracies of redundant-baseline calibration).
Right now, it's noise-free, so another thing you could try is adding noise to the data. You won't be able to show that you get the exact right answer, but you could show that the normalized chi^2 (see https://github.com/HERA-Team/hera_cal/blob/d0e61fa6d1c8aad5f4e9cae2bdbb99ba83830fca/hera_cal/redcal.py#L1479C1-L1479C1) has the right distribution. There's more about that in the paper I mentioned above. Let me know if this is the kind of thing you were looking for. |
Hey Josh, thanks a lot for your time and efforts ! That's amazing ! Thanks again for all your help |
Dear Hera Team, thanks for all your work and for making all your tools available. I'm trying to execute the
omnical_convergence.ipynb
notebooks that is in thescripts/notebooks
folder but it seems to be out of sync with the library. Most of the issues seem to be related with theom.RedSol
class that I think was introduced after the last update of the notebook.I've managed to fix a few of these issues but I am not sure if what I'm doing is correct.
Would it be possible for you to update the notebooks ?
Thanks again
The text was updated successfully, but these errors were encountered: