phoebe-project / phoebe2

PHOEBE - Eclipsing Binary Star Modeling Software
http://phoebe-project.org
GNU General Public License v3.0
79 stars 30 forks source link

Sinusoidal Intensities feature #892

Open kecnry opened 3 months ago

kecnry commented 3 months ago

this PR implements:

import phoebe

b = phoebe.default_binary()
b.add_dataset('lc', compute_phases=phoebe.linspace(0,1,101))
b.run_compute(model='without_puls')

b.add_feature('sinusoidal_intensities', component='primary', feature='puls01')
b.set_value('period@puls01', 0.25)
b.set_value('amplitude', 0.2)

b.run_compute(model='with_puls')
b.plot(save='sinusoidal_intensities.png')

test

TODO: