Skip to content

Commit

Permalink
🏷️ publish marlu v0.2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
Dev McElhinney committed Nov 17, 2021
1 parent a1da29e commit b4e8f5c
Show file tree
Hide file tree
Showing 5 changed files with 37 additions and 33 deletions.
44 changes: 22 additions & 22 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 5 additions & 5 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
[package]
name = "mwa_rust_core"
version = "0.2.1"
name = "marlu"
version = "0.2.2"
authors = ["Christopher H. Jordan <christopherjordan87@gmail.com>",
"Derwent McElhinney <derwent.mcelhinney@curtin.edu.au>"]
edition = "2018"
license = "MPL-2.0"
readme = "README.md"
description = "Convenience Rust code that handles coordinate transformations, Jones matrices, I/O. for the Murchison Widefield Array (MWA) radio telescope."
repository = "https://github.com/MWATelescope/mwa_rust_core"
homepage = "https://github.com/MWATelescope/mwa_rust_core"
description = "Convenience Rust code that handles coordinate transformations, Jones matrices, I/O. for the Murchison Widefield Array (MWA) radio telescope. Previously known as mwa_rust_core"
repository = "https://github.com/MWATelescope/marlu"
homepage = "https://github.com/MWATelescope/marlu"
keywords = ["radioastronomy", "mwa", "astronomy", "aoflagger", "cotter"]
categories = ["science"]
exclude = ["tests/*", ".vscode/*", ".github/*", ".talismanrc"]
Expand Down
4 changes: 4 additions & 0 deletions RELEASES.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
<!-- markdownlint-disable=MD025 -->

# Version 0.2.2 (2021-11-17)

- switch from mwa_rust_core to marlu

# Version 0.2.1 (2021-11-17)

- added measurement sets
Expand Down
2 changes: 1 addition & 1 deletion benches/bench.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
//! Benchmarks
use criterion::*;
use mwa_rust_core::{
use marlu::{
c64,
ndarray::{Array1, Array3},
pos::xyz,
Expand Down
10 changes: 5 additions & 5 deletions src/sexagesimal.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ use thiserror::Error;
/// # Examples
///
/// ```
/// # use mwa_rust_core::{sexagesimal::{sexagesimal_colon_str_to_degrees, SexagesimalError}, approx::assert_abs_diff_eq};
/// # use marlu::{sexagesimal::{sexagesimal_colon_str_to_degrees, SexagesimalError}, approx::assert_abs_diff_eq};
/// # fn main() -> Result<(), SexagesimalError> {
/// let f = sexagesimal_colon_str_to_degrees("-22:58:52.56")?;
/// assert_abs_diff_eq!(f, -22.981267, epsilon = 1e-6);
Expand Down Expand Up @@ -49,7 +49,7 @@ pub fn sexagesimal_dms_to_degrees(d: f64, m: f64, s: f64) -> f64 {
/// # Examples
///
/// ```
/// # use mwa_rust_core::{sexagesimal::{sexagesimal_dms_string_to_degrees, SexagesimalError}, approx::assert_abs_diff_eq};
/// # use marlu::{sexagesimal::{sexagesimal_dms_string_to_degrees, SexagesimalError}, approx::assert_abs_diff_eq};
/// # fn main() -> Result<(), SexagesimalError> {
/// let f = sexagesimal_dms_string_to_degrees("-11d49m01.062s")?;
/// assert_abs_diff_eq!(f, -11.81696167, epsilon = 1e-6);
Expand Down Expand Up @@ -90,7 +90,7 @@ pub fn sexagesimal_dms_string_to_degrees(dms: &str) -> Result<f64, SexagesimalEr
/// # Examples
///
/// ```
/// # use mwa_rust_core::{sexagesimal::{sexagesimal_hms_string_to_degrees, SexagesimalError}, approx::assert_abs_diff_eq};
/// # use marlu::{sexagesimal::{sexagesimal_hms_string_to_degrees, SexagesimalError}, approx::assert_abs_diff_eq};
/// # fn main() -> Result<(), SexagesimalError> {
/// let s = "-11h49m01.062s";
/// let f = sexagesimal_hms_string_to_degrees(s)?;
Expand Down Expand Up @@ -136,7 +136,7 @@ pub fn sexagesimal_hms_to_float(h: f64, m: f64, s: f64) -> f64 {
/// # Examples
///
/// ```
/// # use mwa_rust_core::sexagesimal::*;
/// # use marlu::sexagesimal::*;
/// let dms = degrees_to_sexagesimal_dms(-165.0169619);
/// assert_eq!(dms, "-165d01m01.0628s");
/// ```
Expand Down Expand Up @@ -164,7 +164,7 @@ pub fn degrees_to_sexagesimal_dms(f: f64) -> String {
/// # Examples
///
/// ```
/// # use mwa_rust_core::sexagesimal::*;
/// # use marlu::sexagesimal::*;
/// let hms = degrees_to_sexagesimal_hms(-177.254425);
/// assert_eq!(hms, "-11h49m01.0619s");
/// ```
Expand Down

0 comments on commit b4e8f5c

Please sign in to comment.