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
class ListBuilder: | |
def __init__(self, file_path): | |
file = open(file_path, "r") | |
self.lines = file.readlines() | |
self.list_of_triangles = [] | |
self.list_of_triangle_names = [] | |
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
[{ | |
"Characters": [{ | |
"ClassId": "Assassin", | |
"Debuffs": [], | |
"Abilities": { | |
"0": 0, | |
"11": 0, | |
"12": 0 | |
}, | |
"Casting": null, |
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
description: Template to deploy redStack | |
heat_template_version: '2013-05-23' | |
parameters: | |
image: | |
default: RHEL_6.5_2014r3_base5_Vagrant | |
description: Image to be used for compute instance | |
label: Image ID or Name | |
type: string | |
private_network: | |
default: 0a69b471-3afb-4922-9b7a-4d35f20d8183 |
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
description: > | |
Heat template for Cloudbreak | |
parameters: | |
key_name: | |
type: string | |
description : Name of a KeyPair to enable SSH access to the instance | |
image_id: | |
type: string |
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
# carry out a PCA of temperature | |
# penalize harmonic acceleration, use varimax rotation | |
daybasis65 <- create.fourier.basis(c(0, 365), nbasis=65, period=365) | |
harmaccelLfd <- vec2Lfd(c(0,(2*pi/365)^2,0), c(0, 365)) | |
harmfdPar <- fdPar(daybasis65, harmaccelLfd, lambda=1e5) | |
daytempfd <- smooth.basis(day.5, CanadianWeather$dailyAv[,,"Temperature.C"], | |
daybasis65, fdnames=list("Day", "Station", "Deg C"))$fd | |
daytemppcaobj <- pca.fd(daytempfd, nharm=4, harmfdPar) | |
daytemppcaVarmx <- varmx.pca.fd(daytemppcaobj) | |
# plot harmonics |