-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The command-line arguments for hyperdrive subcommands are now much more consistent. This is because they are using the same code internally. This meant that, unfortunately, many lines of code were altered. The preamble printed from subcommands is more consistent, prettier and consolidates warnings. Most hyperdrive subcommands now support argument files. All input-vis-data reading subcommands can now average the visibilities before doing work on them. Progress bars and the model device are consolidated into "global variables", allowing internal APIs to be simpler. Channel indices are now generally represented by u16 rather than usize. This hopefully helps performance but also prevents ridiculously large channel counts from being considered. Inspiration and insight was taken from https://rust-cli-recommendations.sunshowers.io/index.html
- Loading branch information
Showing
100 changed files
with
12,701 additions
and
9,590 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# Convert visibilities | ||
|
||
`vis-convert` reads in visibilities and writes them out, performing whatever | ||
transformations were requested on the way (e.g. ignore autos, average to a | ||
particular time resolution, flag some tiles, etc.). | ||
|
||
~~~admonish info title="Simple examples" | ||
```shell | ||
hyperdrive vis-convert \ | ||
-d *gpubox* *.metafits \ | ||
--tile-flags Tile011 Tile012 \ | ||
-o hyp_converted.uvfits hyp_converted.ms | ||
``` | ||
```shell | ||
hyperdrive vis-convert \ | ||
-d *.uvfits \ | ||
--no-autos \ | ||
-o hyp_converted.ms | ||
``` | ||
~~~ |
Oops, something went wrong.