Skip to content

Instantly share code, notes, and snippets.

View yanyuechuixue's full-sized avatar

yanyuechuixue yanyuechuixue

  • China Agricultural University
  • Beijing
View GitHub Profile
<?php
$text = $argv[1];
$postdata = http_build_query([
'q' => $text,
]);
$opts = [
'http' => [
'method' => 'POST',
'header' => 'Content-type: application/x-www-form-urlencoded',
@avivajpeyi
avivajpeyi / waveform_plotting.py
Last active July 1, 2020 06:31
Python script to plot gravitational wave waveforms.
"""Module to plot Gravitational Wave Templates
Can be used to test if a waveform approximant works or not.
"""
from __future__ import division, print_function
import bilby
import matplotlib.pyplot as plt