Skip to content

Instantly share code, notes, and snippets.

View gabraganca's full-sized avatar
🚀
going above and beyond

Gustavo Bragança gabraganca

🚀
going above and beyond
View GitHub Profile
@gabraganca
gabraganca / excel_arq.xlsx
Last active January 10, 2018 16:21
Ajudando o Xavier
@gabraganca
gabraganca / data.csv
Created August 30, 2017 14:16
Recipe for fitting gaussians on `vsini` data for differente clusters.
vsini cluster
57.9878 Trumpler 14
65.384 Trumpler 14
171.073 Trumpler 14
38.8181 Trumpler 14
35.236 Trumpler 14
43.879 Trumpler 14
382.417 Trumpler 14
139.456 Trumpler 14
35.8049 Trumpler 14
@gabraganca
gabraganca / data.csv
Created August 30, 2017 14:16
Recipe for fitting gaussians on `vsini` data for differente clusters.
vsini cluster
57.9878 Trumpler 14
65.384 Trumpler 14
171.073 Trumpler 14
38.8181 Trumpler 14
35.236 Trumpler 14
43.879 Trumpler 14
382.417 Trumpler 14
139.456 Trumpler 14
35.8049 Trumpler 14
@gabraganca
gabraganca / make_plot.py
Created August 23, 2017 15:34
Script to make a scatter plot of two variables and color code the dots according to a thrid variable.
#!/usr/bin/env python
"""
Script to make a scatter plot of two variables and color code the dots
according to a thrid variable
author: Gustavo Bragança
e-mail: ga.braganca at gmail dot com
"""
# import needed libraries
@gabraganca
gabraganca / serie_temporal.ex.ipynb
Created July 12, 2016 18:54
Exercício sobre série temporal
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@gabraganca
gabraganca / statsmodels.ipynb
Created June 20, 2016 19:36
Regressão linear com o pacote Statsmodels.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@gabraganca
gabraganca / clustering_exercicio.ipynb
Created May 30, 2016 20:21
Exercvício de Clustering para TDA
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
"""
Usage: python remove_output.py notebook.ipynb [ > without_output.ipynb ]
Modified from remove_output by Minrk
"""
import sys
import io
import os
import argparse
from IPython.nbformat.current import read, write
@gabraganca
gabraganca / synfit_sketch.py
Created March 27, 2014 12:53
Sketch of a `Synfit.py`
import os
import numpy as np
import matplotlib.pyplot as plt
import s4
#Synplot path
SPATH = os.getenv('HOME') + '/synplot/synplot/'
/**write your css in here**/
/* like */
<style>
.CodeMirror{
font-family: "Consolas", sans-serif;
}
pre, code, kbd, samp {
font-family: Consolas, monospace;