Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This commit breaks two crates out of hyperdrive: mwa_hyperdrive_core and mwa_hyperdrive_srclist. Doing this means that core and srclist code can be used elsewhere without all the dependencies of hyperdrive (particularly CUDA). A tool "srclist" is also provided by the srclist crate to handle source list verification and conversion. Stop using nom to parse source lists. nom is nice, but complicated, and hard to make good error messages around. The new approach is more error prone, but is hopefully working well with a large number of tests. Add support for Gaussian and Shapelet sources. Note that the existing simulate-vis code won't use these sources correctly, but no one should be using that code (it will be removed or updated at a later stage). Add power law and curved power law source component types. Add and/or update README files. Provide GitHub workflows to run tests and provide a statically-compiled srclist binary. Attempt to make the module-level documentation style consistent across all files. With the new core crate, I've moved some code out of mongoose, so mongoose can depend on core. Static linking. I've discovered that the current version of pkg-config-rs is too restrictive when attempting to statically link (rust-lang/pkg-config-rs#102). Statically linking elements of hyperdrive should now be more predictable. I've also made mwalib export its usage of fitsio and fitsio-sys, so that these don't need to be explicit dependencies of mwalib users, and statically linking cfitsio is also more predictable.
- Loading branch information