https://github.com/colmtalbot/bilby_rust

https://github.com/colmtalbot/bilby_rust

Science Score: 23.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
    Links to: arxiv.org
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (8.9%) to scientific vocabulary
Last synced: 10 months ago · JSON representation

Repository

Basic Info
Statistics
  • Stars: 3
  • Watchers: 2
  • Forks: 2
  • Open Issues: 0
  • Releases: 2
Created almost 2 years ago · Last pushed over 1 year ago
Metadata Files
Readme

README.md

bilby-rust

Rust implementation of domain-specific geometrical operations for Bilby to mirror the functionality in bilby-cython using PyO3.

Usage

To compile the project and install the python bindings you can use maturin

bash $ maturin develop

This will install an unoptimized version, if you want to test benchmarking, be sure to install with

bash $ maturin develop --release

On MacOS, you may need to install additional dependencies:

bash rustup target add x86_64-apple-darwin mamba install -c conda-forge clang

The python code can then be used directly in python

```python

from bilbyrust.time import greenwichmeansiderealtime greenwichmeansidereal_time(1e9) 26930.069103915423 ```

The API doesn't completely match bilby-cython: - there is currently no support for writing numpy ufuncs using PyO3 so the vectorized version of greenwich_mean_sidereal_time is implemented as bilby_rust.time.greenwich_mean_sidereal_time_vectorized. - additional functionality for dealing with time- and frequency-dependent antenna response functions is additionally implemented using, e.g., bilby_rust.geometry.{time_dependent_polarization_tensor,time_delay_from_geocenter_vectorized,frequency_dependent_detector_tensor}. This was translated from an implementation by @jacobgolomb for bilby-cython. - the convention for the detector-based reference frame from Roulet+ is included as bilby_rust.geometry.zenith_azimuth_to_theta_phi_optimized. - calculation of the antenna response that projects the detector pattern against the polarization tensors using bilby_rust.geometry.{antenna_response,antenna_response_all_model,antenna_response_tensor_modes}.

Owner

  • Name: Colm Talbot
  • Login: ColmTalbot
  • Kind: user

GitHub Events

Total
  • Release event: 2
  • Watch event: 2
  • Delete event: 2
  • Push event: 17
  • Pull request event: 3
  • Fork event: 1
  • Create event: 4
Last Year
  • Release event: 2
  • Watch event: 2
  • Delete event: 2
  • Push event: 17
  • Pull request event: 3
  • Fork event: 1
  • Create event: 4

Issues and Pull Requests

Last synced: 10 months ago

All Time
  • Total issues: 1
  • Total pull requests: 2
  • Average time to close issues: N/A
  • Average time to close pull requests: about 12 hours
  • Total issue authors: 1
  • Total pull request authors: 1
  • Average comments per issue: 0.0
  • Average comments per pull request: 0.0
  • Merged pull requests: 2
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 1
  • Pull requests: 2
  • Average time to close issues: N/A
  • Average time to close pull requests: about 12 hours
  • Issue authors: 1
  • Pull request authors: 1
  • Average comments per issue: 0.0
  • Average comments per pull request: 0.0
  • Merged pull requests: 2
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
  • ColmTalbot (4)
Top Labels
Issue Labels
Pull Request Labels

Packages

  • Total packages: 2
  • Total downloads:
    • cargo 1,084 total
    • pypi 534 last-month
  • Total dependent packages: 0
    (may contain duplicates)
  • Total dependent repositories: 0
    (may contain duplicates)
  • Total versions: 3
  • Total maintainers: 2
pypi.org: bilby-rust

Rust implementation of domain-specific geometrical operations for Bilby to mirror the functionality in bilby-cython using PyO3.

  • Versions: 2
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 534 Last month
Rankings
Dependent packages count: 10.4%
Average: 34.6%
Dependent repos count: 58.8%
Maintainers (1)
Last synced: 10 months ago
crates.io: bilby_rust

Rust implementation of domain-specific geometrical operations for Bilby to mirror the functionality in bilby-cython using PyO3.

  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 1,084 Total
Rankings
Dependent repos count: 25.9%
Dependent packages count: 34.3%
Average: 52.3%
Downloads: 96.9%
Maintainers (1)
Last synced: 11 months ago

Dependencies

.github/workflows/pytest.yml actions
  • actions/checkout v4 composite
  • actions/setup-python v5 composite
  • mamba-org/setup-micromamba v1 composite
.github/workflows/rust.yml actions
  • actions/checkout v4 composite
Cargo.lock cargo
  • aho-corasick 1.1.3
  • android-tzdata 0.1.1
  • android_system_properties 0.1.5
  • autocfg 1.3.0
  • bitflags 2.6.0
  • bumpalo 3.16.0
  • cc 1.1.5
  • cfg-if 1.0.0
  • chrono 0.4.38
  • core-foundation-sys 0.8.6
  • heck 0.4.1
  • iana-time-zone 0.1.60
  • iana-time-zone-haiku 0.1.2
  • indoc 2.0.5
  • js-sys 0.3.69
  • libc 0.2.155
  • lock_api 0.4.12
  • log 0.4.22
  • matrixmultiply 0.3.8
  • memchr 2.7.4
  • memoffset 0.9.1
  • ndarray 0.15.6
  • num-complex 0.4.6
  • num-integer 0.1.46
  • num-traits 0.2.19
  • numpy 0.21.0
  • once_cell 1.19.0
  • parking_lot 0.12.3
  • parking_lot_core 0.9.10
  • physical_constants 0.5.0
  • portable-atomic 1.6.0
  • proc-macro2 1.0.86
  • pyo3 0.21.2
  • pyo3-build-config 0.21.2
  • pyo3-ffi 0.21.2
  • pyo3-macros 0.21.2
  • pyo3-macros-backend 0.21.2
  • quote 1.0.36
  • rawpointer 0.2.1
  • redox_syscall 0.5.3
  • regex 1.10.5
  • regex-automata 0.4.7
  • regex-syntax 0.8.4
  • rustc-hash 1.1.0
  • scopeguard 1.2.0
  • smallvec 1.13.2
  • syn 2.0.71
  • target-lexicon 0.12.15
  • unicode-ident 1.0.12
  • unindent 0.2.3
  • wasm-bindgen 0.2.92
  • wasm-bindgen-backend 0.2.92
  • wasm-bindgen-macro 0.2.92
  • wasm-bindgen-macro-support 0.2.92
  • wasm-bindgen-shared 0.2.92
  • windows-core 0.52.0
  • windows-targets 0.52.6
  • windows_aarch64_gnullvm 0.52.6
  • windows_aarch64_msvc 0.52.6
  • windows_i686_gnu 0.52.6
  • windows_i686_gnullvm 0.52.6
  • windows_i686_msvc 0.52.6
  • windows_x86_64_gnu 0.52.6
  • windows_x86_64_gnullvm 0.52.6
  • windows_x86_64_msvc 0.52.6
Cargo.toml cargo