➜ stingray git:(move_tests) nosetests
................................................/home/hunter/GSoC/current/stingray/stingray/utils.py:24: UserWarning: SIMON says: Probability of no signal too miniscule to calculate.
warnings.warn("SIMON says: {0}".format(message), **kwargs)
.....FF........FF...FFFFFF..F.F......
======================================================================
FAIL: test_powerspectrum.TestPowerspectrum.test_dc_component
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
This file contains hidden or 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
# Moving to a temporary directory... | |
cd `mktemp -d` | |
printf "\n Setting proxy...\n" | |
export http_proxy=http://10.3.100.207:8080 | |
export https_proxy=http://10.3.100.207:8080 | |
printf "\n Updating the apt-get repositories. Please provide permissions...\n" | |
sudo add-apt-repository universe | |
sudo apt-get install build-essential |
This file has been truncated, but you can view the full file.
This file contains hidden or 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
{ | |
"backslash": { | |
"source": "pypi", | |
"version": "2.25.1", | |
"file_type": "tar", | |
"builtins": "os cStringIO setuptools linecache pipes copy json contextlib functools socket random threading time hashlib shlex __future__ gzip itertools sys collections __builtin__ webbrowser io", | |
"nonbuiltins": "munch requests slash git logbook sentinels urlobject simplejson builtins" | |
}, | |
"django-andablog": { | |
"source": "pypi", |
This file contains hidden or 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
# File : .pep8speaks.yml | |
scanner: | |
diff_only: True # Errors caused by only the patch are shown, not the whole file | |
pycodestyle: | |
max-line-length: 80 # Default is 79 in PEP8 | |
ignore: # Errors and warnings to ignore | |
- W391 | |
- E203 |
This file contains hidden or 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
Acquire::http::proxy "http://10.3.100.207:8080/"; | |
Acquire::ftp::proxy "ftp://10.3.100.207:8080/"; | |
Acquire::https::proxy "http://10.3.100.207:8080/"; |
This file contains hidden or 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
Create a node app which could execute commands from browser and then display the results. |
This file contains hidden or 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
# -*- coding: utf-8 -*- | |
import json | |
import os | |
from flask import Flask, request, g, session, redirect, url_for, Response | |
from flask import render_template_string, render_template | |
import requests | |
from sqlalchemy import create_engine, Column, Integer, String, Text | |
from sqlalchemy.orm import scoped_session, sessionmaker |
This file contains hidden or 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
{"feed": [{"year": 2017, "content": [{"content": [{"link": "https://medium.com/p/aa2f9d5e3d5c", "tags": ["tech", "programming", "web-development", "python"], "title": "sudo start orkohunter.net"}, {"link": "https://medium.com/p/4403b18e171d", "tags": ["open-source", "education", "programming", "technology"], "title": "Kharagpur Winter of Code Statistics"}, {"link": "https://medium.com/p/f0afd146d2e", "tags": ["linux", "ssh"], "title": "SSH to a remote server from KGP network"}, {"link": "https://medium.com/p/e9769e7c8824", "tags": ["github", "getting-started", "git"], "title": "Quick guide to git and github (Part 1)"}, {"link": "https://medium.com/p/5137ebf42d36", "tags": ["poetry", "poem", "fiction"], "title": "\u0906\u0902\u0938\u0941\u0913\u0902 \u0915\u0947 \u092c\u093f\u0902\u092c \u0938\u0947 \u091b\u0932\u0915\u0924\u0940 \u0939\u0941\u0908 \u0926\u0941\u0928\u093f\u092f\u093e, \u0926\u0947\u0916\u0940 \u0925\u0940 \u092e\u0948\u0902\u0928\u0947 \u090f\u0915 \u092c\u093e\u0930"}, {"link": "https://medi |
This file contains hidden or 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
{"ezcf": {"file_type": "zip", "nonbuiltins": "xmltodict green yaml unittest2 configobj", "version": "0.2.1", "source": "pypi", "builtins": "imp unittest os xml inspect json setuptools codecs sys"}, "paramiko": {"file_type": "tar", "nonbuiltins": "sspicon tests cryptography test_ssh_gss test_gssapi _thread socketserver test_client sspi builtins gssapi pyasn1 test_kex_gss", "version": "2.1.1", "source": "pypi", "builtins": "collections ctypes sys StringIO termios tty UserDict thread zlib errno time functools struct base64 io shlex os warnings binascii stat setuptools platform socket getpass threading signal weakref grp select unittest logging traceback fnmatch SocketServer tarfile __future__ tempfile distutils pwd fcntl hmac subprocess cStringIO __builtin__ atexit array optparse hashlib datetime"}, "gmvault": {"file_type": "tar", "nonbuiltins": "chardet gmv logbook imapclient", "version": "1.9.1", "source": "pypi", "builtins": "zlib unittest StringIO shutil gzip webbrowser token fnmatch contextlib traceback loc |
This file contains hidden or 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
from __future__ import division | |
import numpy as np | |
import stingray.lightcurve as lightcurve | |
def cross_covariance(lc1, lc2): | |
""" | |
Compute the cross covariance of two lightcurves. | |
Parameters |