This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import numpy as np | |
import matplotlib.pyplot as plt | |
from scipy.signal import chirp | |
# Parámetros físicos | |
mass1_source = 30 # masas en M_sun (no en SI) | |
mass2_source = 20 | |
redshift = 0.09 | |
# Redshifteamos las masas observadas |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import numpy as np | |
import matplotlib.pyplot as plt | |
from scipy import signal | |
# Parámetros | |
sample_rate = 4096 # Frecuencia de muestreo | |
duration = 2.0 # Duración en segundos | |
t = np.linspace(0, duration, int(sample_rate * duration)) | |
# Simulación de un chirp |