Weeks 7 & 8: Making Spectrograms a Little Easier to Work With

Making Spectrograms a Little Easier to Work With

Another couple of weeks have gone by and it's been a mix of writing code, responding to reviews and learning more about the radiospectra codebase.

Compared to the first few weeks, I spent less time figuring out where things lived and more time thinking about how people actually use the library. That shift has been really fun because even small improvements can make a noticeable difference for users.

Read more…

Rebinning Updates!

 

Updates on Rebinning in Stingray.jl

Welcome back! Over the past couple of weeks, we have been working hard on expanding the capabilities of Stingray.jl. One of the key features we've recently added is data rebinning. Rebinning is an essential part of time series analysis, especially when dealing with noisy light curves or power spectra where we want to trade off some resolution for a higher signal-to-noise ratio.
In this post, we'll walk through the two new rebinning functions we've introduced: rebin_data for linear rebinning and rebin_data_log for logarithmic rebinning.

Linear Rebinning with rebin_data

The rebin_data function allows you to linearly rebin your data array to a new, coarser resolution.

You can choose to either sum or average the data points falling into the new bins using the method keyword argument.

It also automatically propagates uncertainties if you provide them!Here is a quick example of how you can use it to rebin a light curve or a signal:

using Stingray using Plots

Read more…

Coming up for Air

After the absolute gauntlet of the past few weeks, this week finally offered a little bit of breathing room. I'm not going to lie, I needed it. But "lighter" in the open-source world doesn't mean stopping; it just means you finally have the time to sit back and actually think before you code.

Read more…