Skip to main content

A Python package for gravitational wave analysis using neural networks

Project description

SageNetGW

SageNetGW is a Python package for generating GW power-frequency curves. See https://github.com/YifangLuo/SageNet and https://github.com/bohuarolandli/stiffGWpy

Installation

pip install sagenetgw

Usage Example

from sagenetgw import FormerGenerator
import numpy as np
from matplotlib import pyplot as plt

generator = FormerGenerator()
curve = generator.generate(r=3.9585109e-05, 
                   n_t=1.0116972, 
                   kappa10=110.42477, 
                   T_re=0.17453859, 
                   DN_re=39.366618,
                   Omega_bh2=0.0223828, 
                   Omega_ch2=0.1201075, 
                   H0=67.32117, 
                   A_s=2.100549e-9)
coords = np.array(curve)
plt.plot(coords[:, 0], coords[:, 1], '--', color="royalblue", marker='.')

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sagenetgw-0.1.0.tar.gz (6.4 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sagenetgw-0.1.0-py3-none-any.whl (6.4 MB view details)

Uploaded Python 3

File details

Details for the file sagenetgw-0.1.0.tar.gz.

File metadata

  • Download URL: sagenetgw-0.1.0.tar.gz
  • Upload date:
  • Size: 6.4 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.0

File hashes

Hashes for sagenetgw-0.1.0.tar.gz
Algorithm Hash digest
SHA256 130c2e6d2e22f26779410d8c0f5a558790be8516e9e84d86027c192eec7ca3df
MD5 6fe407280454e7d890be4fa64162be8d
BLAKE2b-256 d6a70749d3994fc0b58293fef0a97d27424672f51c822ce5c75edd04e3a946fe

See more details on using hashes here.

File details

Details for the file sagenetgw-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: sagenetgw-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 6.4 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.0

File hashes

Hashes for sagenetgw-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 541b1f5287bdf74aa9270eee951f202434d65bb8aad376c843e9e7fa38ca122c
MD5 d00f666702f43c25923195bb413d6927
BLAKE2b-256 112c523430a4d1352ff233087b5a142e6711f681a6113fcb9e7c5777d06a1103

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page