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
{ | |
"annotations": { | |
"list": [ | |
{ | |
"builtIn": 1, | |
"datasource": "-- Grafana --", | |
"enable": true, | |
"hide": true, | |
"iconColor": "rgba(0, 211, 255, 1)", | |
"name": "Annotations & Alerts", |
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
#cython: language_level=3 | |
import cython | |
import numpy | |
cimport numpy as cnumpy | |
# Silly example C struct | |
cdef struct example: |
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
# Idiom - C struct container simple values | |
# | |
# Idiom - Use ctypedef so we can can pass this | |
# easily in and out of functions. | |
# | |
cdef struct book: | |
int uid | |
ctypedef book book_t | |
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
Note that: | |
dblCalVar1 = Va Gain | |
dblCalVar2 = Vs Gain | |
dblCalVar3 = Ia Gain | |
dblCalVar4 = Is Gain | |
dblCalVar5 = Vsupp | |
dblCalVar6 = Vgrid(40V) | |
dblCalVar7 = VglowA | |
dblCalVar8 = Vgrid(4V) |
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 traits.api import HasTraits, Str, List, Button, Any | |
from traitsui.api import TreeNode, TreeEditor, View, ModelView, Group, VGroup, Item | |
from pkg_resources import resource_filename | |
tree_icon_path = resource_filename("traitsui", "wx/images") | |
class Measurement(HasTraits): | |
name = Str("Measurement") |
OlderNewer