Skip to content

Instantly share code, notes, and snippets.

@cjordan
cjordan / Cargo.toml
Last active November 16, 2021 12:21
rust fits file stuff
[package]
name = "fits"
version = "0.1.0"
edition = "2021"
[dependencies]
fitsio = "0.19.0"
fitsio-sys = "^0" # This version matches what is used by "fitsio"
@cjordan
cjordan / erfa_vs_rust_astro.ipynb
Created October 17, 2019 21:43
ERFA vs rust's astro crate
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@cjordan
cjordan / ao-cal.sh
Created October 10, 2019 06:51
An example script to cotter, calibrate and image an MWA observation.
#!/usr/bin/env bash
# This script requires at least one argument:
# - the 10-digit-long obsid to be calibrated
# - (optional) the associated ASVO job number for downloading (needed only if the data doesn't already exist)
# This script is assumed to be running in a "timestamp directory", with the visibilties available or
# to be downloaded in the directory above.
if [[ $# -eq 0 ]]; then
@cjordan
cjordan / testing_find_peaks_cwt.ipynb
Created October 26, 2016 09:15
Testing scipy's find_peaks_cwt
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

Keybase proof

I hereby claim:

  • I am cjordan on github.
  • I am chjordan (https://keybase.io/chjordan) on keybase.
  • I have a public key whose fingerprint is D797 E55D 693E DD45 7107 909C 6C45 5689 A77F 75C3

To claim this, I am signing this object: