astro-informatics / purify

Next-generation radio interferometric imaging.
https://astro-informatics.github.io/purify
GNU General Public License v2.0
17 stars 13 forks source link

Convert complex to real when using learned model #311

Closed tkoskela closed 1 year ago

tkoskela commented 1 year ago

By default the template type is always complex, which is not supported by TensorFlow. In practice we can expect to work with real data and it should be safe to drop the imaginary parts of the complex values before passing them into TF

tkoskela commented 1 year ago

This will be fixed on sopt side https://github.com/astro-informatics/sopt/pull/358