New answers tagged variable-star
0
So after further digging and following the partial answer above, I came up with this code/answer which should suffice if you got the 'amplitude spectrum' right away and works.
import pandas as pd
import numpy as np
import matplotlib.pyplot as plt
df = pd.read_csv('FLSP.csv', index_col = False)
with pd.option_context('display.float_format', '{:0.20f}'....
1
This is a partial answer based on the discussion in comments below the question.
If one already has an "amplitude spectrum" and one wants to convert to a power spectrum, all you have to do is take the absolute value of the amplitude and square it. In Python (introduced in the question) that's just np.abs(amplitude)**2.
When you take the Discrete ...
Top 50 recent answers are included
Related Tags
variable-star × 26photometry × 5
betelgeuse × 5
star × 4
cepheids × 3
observational-astronomy × 2
distances × 2
supernova × 2
light-curve × 2
definition × 2
astrophysics × 1
amateur-observing × 1
asteroids × 1
history × 1
spectroscopy × 1
data-analysis × 1
binary-star × 1
magnetic-field × 1
terminology × 1
luminosity × 1
apparent-magnitude × 1
magnitude × 1
brown-dwarf × 1
dust × 1
absolute-magnitude × 1