Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Experimental PH-TESS notebook #14

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

eatyourgreens
Copy link

A modification of the 1D sonification notebook. It replaces the generated 1D data with a couple of simulated TESS light curves from Planet Hunters TESS.

This is a notebook that I've been using to play with STRAUSS and learn how it works.

@james-trayford
Copy link
Owner

Great to see these TESS examples! Interesting to deal with a combination of longer term trends but also some dramatic spikes, there may pertinent question around how to handle these, depending on the properties of interest. Generally some of the existing approaches seem to work well I think. Also good to download the data in-notebook too, to keep the data/ folder light.

May be good to name it TESSlightcurves.ipynb or similar to clarify (realising Sonifying is redundant in these example names, I should also change SonifyingData1D.ipynb).

I'm thinking it would be good to merge a TESS example once this has diverged more from SonifyingData1D.ipynb - particularly if this data set brings up particular issues or points of interest. Else we could integrate some TESS examples into the existing notebook.

@eatyourgreens
Copy link
Author

May be good to name it TESSlightcurves.ipynb or similar to clarify (realising Sonifying is redundant in these example names, I should also change SonifyingData1D.ipynb).

Good idea! I've renamed the notebook.

I'm thinking it would be good to merge a TESS example once this has diverged more from SonifyingData1D.ipynb - particularly if this data set brings up particular issues or points of interest. Else we could integrate some TESS examples into the existing notebook.

I've made a couple of changes now, and rebased. Sonifications are 20s long, not 15, and I've had a go at inverting the pitch mapping example. With the first subject (the default), you should hear 16 'chirps', corresponding to the 16 downward spikes in the light curve.

I haven't touched any of the other examples yet. I'm still playing around, figuring out how the mapping parameters work.

A modification of the 1D sonification notebook. It replaces the generated 1D data with a couple of simulated TESS light curves from Planet Hunters TESS.
@eatyourgreens
Copy link
Author

eatyourgreens commented Jan 10, 2024

Ignore that last bit. I've updated the pitch mapping and volume mapping examples to use the same y mapping for the normalised flux. You can hear the 16 downward spikes in both now. I think the pitch shift is easier to hear than the volume change.

"source": [
"**Set up some universal sonification parameters and classes for the examples below**\n",
"\n",
"For all examples we use the `Synthesizer` generator to create a 30 second, mono sonification."
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this line is a holdover from an earlier notebook. Anyway, the examples here are 20 seconds and stereo (panning from left to right as we move along the light curve.)

Try `1/((y*10+1)**0.7)` to exaggerate sudden dips in flux.
" 'time_evo':x,\n",
" 'azimuth':(x*0.5+0.25) % 1,\n",
" 'polar':0.5,\n",
" 'pitch_shift':(y*10+1)**-0.7}\n",
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The **-0.7 here means that higher flux => lower pitch - could just map 'pitch_shift':y here instead to get high pitch => high flux?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm finding it easier to hear the dips in flux if lower flux => higher pitch, but I'm still experimenting.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants