Skip to content

Instantly share code, notes, and snippets.

View cdiener's full-sized avatar
👶
on paternity leave

Christian Diener cdiener

👶
on paternity leave
View GitHub Profile
@Su-Shee
Su-Shee / gist:5d1a417fa9de19c15477
Last active October 3, 2024 20:02
Falsehoods Programmers Believe About "Women In Tech"

Falsehoods Programmers Believe About "Women In Tech"

  • We have absolutely no idea what we're doing in tech. Please explain the utmost basic things to us.

  • We only do web design. Our whole reason of being in tech is to make things pretty. Consider us the doilies of the industry.

  • We're not laughing about your joke, so we clearly need you explain it to us. In great detail.

  • We're only in tech to find a husband, boyfriend or generally to get laid.

import numpy as np
import scipy, scipy.signal
def savitzky_golay( y, window_size, order, deriv = 0 ):
r"""Smooth (and optionally differentiate) data with a Savitzky-Golay filter.
The Savitzky-Golay filter removes high frequency noise from data.
It has the advantage of preserving the original shape and
features of the signal better than other types of filtering
approaches, such as moving averages techhniques.
Parameters