We can't make this file beautiful and searchable because it's too large.
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
,label,x,y,z,rowid | |
0,0,-0.49993792259630093,-0.542358706978817,0.6752104164735323,0 | |
1,1,-0.5009105906836565,-0.5551524042613939,0.663998786281831,1 | |
2,2,-0.5027648336388688,-0.5535892487607813,0.6639024519555224,2 | |
3,3,-0.5100147003310134,-0.5512107086256375,0.6603421538435128,3 | |
4,4,-0.5072517443043346,-0.5529601433131704,0.6610073734893495,4 | |
5,5,-0.5007793223610908,-0.5540284932793366,0.6650357125224141,5 | |
6,6,-0.5003064536396594,-0.553115008835278,0.6661510635341341,6 | |
7,7,-0.5100290974487397,-0.5510118404551483,0.6604969882095258,7 | |
8,8,-0.5070245745188176,-0.552873977951629,0.6612536921166898,8 |
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
def reader(fname): | |
arrivals = {} | |
with open(fname, 'r') as fd: | |
N = int(fd.readline()) | |
for i in range(N): | |
arr = fd.readline().split(' ') | |
t1 = int(arr[0]) | |
dt = int(arr[1]) | |
typ = arr[2].rstrip() | |
arrivals[t1] = (dt, typ) |
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
#include "postgres.h" | |
#include "catalog/pg_type.h" | |
#include "utils/lsyscache.h" | |
#include "fmgr.h" | |
#include "utils/rangetypes.h" | |
#include "utils/multirangetypes.h" | |
PG_MODULE_MAGIC; |
This file has been truncated, but you can view the full file.
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
# MIST version number = 1.2 | |
# MESA revision number = 7503 | |
# -------------------------------------------------------------------------------------- | |
# Yinit Zinit [Fe/H] [a/Fe] v/vcrit | |
# 0.2490 1.42857E-06 -4.00 0.00 0.40 | |
# -------------------------------------------------------------------------------------- | |
# initial_mass N_pts N_EEP N_col phase type | |
# 1.1600000000E+00 1710 10 77 YES low-mass | |
# EEPs: 1 202 353 454 605 631 707 808 1409 1710 | |
# -------------------------------------------------------------------------------------- |
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
year | word | ncomm16 | ncomm50 | ncomm84 | nposts | |
---|---|---|---|---|---|---|
2010 | made | 5 | 20 | 31 | 6 | |
2010 | person | 5 | 19 | 30 | 7 | |
2010 | american | 3 | 19 | 27 | 9 | |
2010 | hard | 9 | 19 | 26 | 6 | |
2010 | making | 6 | 18 | 31 | 6 | |
2010 | feel | 6 | 18 | 22 | 8 | |
2010 | yes | 12 | 18 | 23 | 7 | |
2010 | level | 5 | 17 | 22 | 8 | |
2010 | look | 6 | 17 | 23 | 12 |
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
from enum import Enum | |
import sys | |
class State(Enum): | |
DEFAULT = -1 | |
NUMBER = 1 | |
PARENTHESIS = 2 | |
OPERATOR = 3 |
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
X | Y | E | |
---|---|---|---|
0.25656893790551005 | -0.5339321432581925 | 0.6615630051645608 | |
0.38381979342232286 | 0.2839874939725324 | 0.19893568097342582 | |
-0.20153213667446557 | -1.3861078165146252 | 0.9845053591896493 | |
0.7571555436036743 | 1.4838795035056096 | 0.7010860771863712 | |
0.03620379102694726 | -0.5169944710249601 | 0.5373999715183462 | |
0.8485769621098496 | 1.9457900069793994 | 0.5788164546366801 | |
-0.6773901017679056 | 0.14628386343523947 | 0.4646716533467433 | |
0.41890945178707417 | 0.17209814317577327 | 0.13288509817154112 | |
-0.34355950967910487 | -0.4539547617279721 | 0.185810894809869 |
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
t | STUDENT | |
---|---|---|
14.812251272248009 | OD | |
15.94189336946593 | OD | |
14.913469186961699 | OD | |
3.872995329243676 | OD | |
5.397295207514228 | OD | |
8.340992500771973 | OD | |
2.685890604907424 | OD | |
8.218436273560854 | OD | |
12.749965244260185 | OD |
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
X | Y | E | STUDENT | |
---|---|---|---|---|
0.08278243391083029 | -0.10684129377669312 | 0.23228013119640514 | OD | |
-0.9803757619114297 | 3.5347025346415815 | 0.4377896762183271 | OD | |
0.22258982555702111 | 0.27600895731531433 | 0.3220140745914828 | OD | |
-0.4361661429137276 | 0.45036330148321924 | 0.9190835739319942 | OD | |
0.5240431847176898 | 0.2008978887172514 | 0.5131064457244146 | OD | |
0.2834421939956382 | -0.2313860442036691 | 0.6530096571670552 | OD | |
0.08548550922740672 | -0.7959785213567536 | 0.8085019132279926 | OD | |
0.9341219556671525 | 4.171329891838006 | 0.9339981329442264 | OD | |
-0.2966658807917244 | 0.2771381702831968 | 0.7896792526235241 | OD |
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
import numpy as np | |
cosd = lambda x: np.cos(np.deg2rad(x)) | |
sind = lambda x: np.sin(np.deg2rad(x)) | |
# cosine and sine in degrees | |
ra0,dec0=210.,-62. | |
# initial coordinates | |
X0 = np.r_[cosd(ra0)*cosd(dec0), sind(ra0)*cosd(dec0), sind(dec0)] | |
#vector pointing towards the star |
NewerOlder