Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Copyright: This document has been placed in the public domain. | |
__author__ = "Yannick Copin <[email protected]>" | |
import numpy as N | |
def restride(arr, binfactor, squeezed=True, flattened=False): | |
""" | |
Rebin ND-array `arr` by `binfactor`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# lbda: 4327A | |
# radius[spx] flux | |
0.716608613055 12.3552 | |
0.745272338424 11.5852 | |
0.745343175736 11.7769 | |
0.834997936881 10.4475 | |
1.55358944456 4.54829 | |
1.57210666273 4.74318 | |
1.61169010512 4.2645 | |
1.68493686848 3.5319 |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
% Time-stamp: <2015-04-14 22:08:01 ycopin> | |
\NeedsTeXFormat{LaTeX2e} | |
\ProvidesClass{interneuclid}[2015/04/09 Euclid Internal Note Class] | |
% All options are passed to article class | |
\LoadClassWithOptions{article} | |
\RequirePackage[utf8]{inputenc} | |
\RequirePackage[T1]{fontenc} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
# Time-stamp: <2015-04-07 18:58:52 ycopin> | |
from __future__ import division, print_function | |
""" | |
Gauss-Hermite line profile. | |
""" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# Time-stamp: <2015-03-30 15:21:15 ycopin> | |
from __future__ import division, print_function | |
""" | |
Example of implicit logging management. | |
""" | |
import sys, atexit, traceback |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
""" | |
EUCLID Acronym translaTOR. | |
DEPRECATED: official repo is now https://gitlab.euclid-sgs.uk/ycopin/euclidator, | |
with a shiny web interface at http://ycopin.pages.euclid-sgs.uk/euclidator/ | |
""" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
# Time-stamp: <2013-02-22 12:00:07 ycopin> | |
import numpy as N | |
import matplotlib.pyplot as P | |
from mpl_toolkits.basemap import Basemap | |
xs = N.linspace(0,30,5) | |
ys = N.linspace(20,50,5) |
NewerOlder