id
int64
0
458k
file_name
stringlengths
4
119
file_path
stringlengths
14
227
content
stringlengths
24
9.96M
size
int64
24
9.96M
language
stringclasses
1 value
extension
stringclasses
14 values
total_lines
int64
1
219k
avg_line_length
float64
2.52
4.63M
max_line_length
int64
5
9.91M
alphanum_fraction
float64
0
1
repo_name
stringlengths
7
101
repo_stars
int64
100
139k
repo_forks
int64
0
26.4k
repo_open_issues
int64
0
2.27k
repo_license
stringclasses
12 values
repo_extraction_date
stringclasses
433 values
26,200
__init__.py
numenta_nupic-legacy/tests/swarming/nupic/swarming/__init__.py
# ---------------------------------------------------------------------- # Numenta Platform for Intelligent Computing (NuPIC) # Copyright (C) 2013, Numenta, Inc. Unless you have an agreement # with Numenta, Inc., for a separate license for this software code, the # following terms and conditions apply: # # This progra...
976
Python
.py
20
47.8
72
0.665272
numenta/nupic-legacy
6,330
1,556
464
AGPL-3.0
9/5/2024, 5:13:42 PM (Europe/Amsterdam)
26,201
swarming_test.py
numenta_nupic-legacy/tests/swarming/nupic/swarming/swarming_test.py
# ---------------------------------------------------------------------- # Numenta Platform for Intelligent Computing (NuPIC) # Copyright (C) 2013, Numenta, Inc. Unless you have an agreement # with Numenta, Inc., for a separate license for this software code, the # following terms and conditions apply: # # This progra...
101,464
Python
.py
2,125
35.606588
95
0.581319
numenta/nupic-legacy
6,330
1,556
464
AGPL-3.0
9/5/2024, 5:13:42 PM (Europe/Amsterdam)
26,202
description.py
numenta_nupic-legacy/tests/swarming/nupic/swarming/experiments/delta/description.py
# ---------------------------------------------------------------------- # Numenta Platform for Intelligent Computing (NuPIC) # Copyright (C) 2013, Numenta, Inc. Unless you have an agreement # with Numenta, Inc., for a separate license for this software code, the # following terms and conditions apply: # # This progra...
14,643
Python
.py
312
37.967949
153
0.635114
numenta/nupic-legacy
6,330
1,556
464
AGPL-3.0
9/5/2024, 5:13:42 PM (Europe/Amsterdam)
26,203
permutations.py
numenta_nupic-legacy/tests/swarming/nupic/swarming/experiments/delta/permutations.py
# ---------------------------------------------------------------------- # Numenta Platform for Intelligent Computing (NuPIC) # Copyright (C) 2013, Numenta, Inc. Unless you have an agreement # with Numenta, Inc., for a separate license for this software code, the # following terms and conditions apply: # # This progra...
3,895
Python
.py
90
36.644444
118
0.645707
numenta/nupic-legacy
6,330
1,556
464
AGPL-3.0
9/5/2024, 5:13:42 PM (Europe/Amsterdam)
26,204
description.py
numenta_nupic-legacy/tests/swarming/nupic/swarming/experiments/spatial_classification/description.py
# ---------------------------------------------------------------------- # Numenta Platform for Intelligent Computing (NuPIC) # Copyright (C) 2013, Numenta, Inc. Unless you have an agreement # with Numenta, Inc., for a separate license for this software code, the # following terms and conditions apply: # # This progra...
15,453
Python
.py
342
35.748538
117
0.620437
numenta/nupic-legacy
6,330
1,556
464
AGPL-3.0
9/5/2024, 5:13:42 PM (Europe/Amsterdam)
26,205
permutations.py
numenta_nupic-legacy/tests/swarming/nupic/swarming/experiments/spatial_classification/permutations.py
# ---------------------------------------------------------------------- # Numenta Platform for Intelligent Computing (NuPIC) # Copyright (C) 2013, Numenta, Inc. Unless you have an agreement # with Numenta, Inc., for a separate license for this software code, the # following terms and conditions apply: # # This progra...
5,554
Python
.py
125
38.28
117
0.664505
numenta/nupic-legacy
6,330
1,556
464
AGPL-3.0
9/5/2024, 5:13:42 PM (Europe/Amsterdam)
26,206
description.py
numenta_nupic-legacy/tests/swarming/nupic/swarming/experiments/input_predicted_field/description.py
# ---------------------------------------------------------------------- # Numenta Platform for Intelligent Computing (NuPIC) # Copyright (C) 2013, Numenta, Inc. Unless you have an agreement # with Numenta, Inc., for a separate license for this software code, the # following terms and conditions apply: # # This progra...
14,113
Python
.py
311
35.163987
117
0.605796
numenta/nupic-legacy
6,330
1,556
464
AGPL-3.0
9/5/2024, 5:13:42 PM (Europe/Amsterdam)
26,207
permutations.py
numenta_nupic-legacy/tests/swarming/nupic/swarming/experiments/input_predicted_field/permutations.py
# ---------------------------------------------------------------------- # Numenta Platform for Intelligent Computing (NuPIC) # Copyright (C) 2013, Numenta, Inc. Unless you have an agreement # with Numenta, Inc., for a separate license for this software code, the # following terms and conditions apply: # # This progra...
6,042
Python
.py
132
39.492424
130
0.667916
numenta/nupic-legacy
6,330
1,556
464
AGPL-3.0
9/5/2024, 5:13:42 PM (Europe/Amsterdam)
26,208
description.py
numenta_nupic-legacy/tests/swarming/nupic/swarming/experiments/smart_speculation_temporal/description.py
# ---------------------------------------------------------------------- # Numenta Platform for Intelligent Computing (NuPIC) # Copyright (C) 2013, Numenta, Inc. Unless you have an agreement # with Numenta, Inc., for a separate license for this software code, the # following terms and conditions apply: # # This progra...
16,850
Python
.py
352
36.485795
118
0.593864
numenta/nupic-legacy
6,330
1,556
464
AGPL-3.0
9/5/2024, 5:13:42 PM (Europe/Amsterdam)
26,209
permutations.py
numenta_nupic-legacy/tests/swarming/nupic/swarming/experiments/smart_speculation_temporal/permutations.py
# ---------------------------------------------------------------------- # Numenta Platform for Intelligent Computing (NuPIC) # Copyright (C) 2013, Numenta, Inc. Unless you have an agreement # with Numenta, Inc., for a separate license for this software code, the # following terms and conditions apply: # # This progra...
5,491
Python
.py
116
43.525862
167
0.704452
numenta/nupic-legacy
6,330
1,556
464
AGPL-3.0
9/5/2024, 5:13:42 PM (Europe/Amsterdam)
26,210
description.py
numenta_nupic-legacy/tests/swarming/nupic/swarming/experiments/oneField/description.py
# ---------------------------------------------------------------------- # Numenta Platform for Intelligent Computing (NuPIC) # Copyright (C) 2013, Numenta, Inc. Unless you have an agreement # with Numenta, Inc., for a separate license for this software code, the # following terms and conditions apply: # # This progra...
14,410
Python
.py
309
37.18123
118
0.626657
numenta/nupic-legacy
6,330
1,556
464
AGPL-3.0
9/5/2024, 5:13:42 PM (Europe/Amsterdam)
26,211
permutations.py
numenta_nupic-legacy/tests/swarming/nupic/swarming/experiments/oneField/permutations.py
# ---------------------------------------------------------------------- # Numenta Platform for Intelligent Computing (NuPIC) # Copyright (C) 2013, Numenta, Inc. Unless you have an agreement # with Numenta, Inc., for a separate license for this software code, the # following terms and conditions apply: # # This progra...
4,947
Python
.py
107
39.224299
118
0.64893
numenta/nupic-legacy
6,330
1,556
464
AGPL-3.0
9/5/2024, 5:13:42 PM (Europe/Amsterdam)
26,212
description.py
numenta_nupic-legacy/tests/swarming/nupic/swarming/experiments/legacy_cla_multistep/description.py
# ---------------------------------------------------------------------- # Numenta Platform for Intelligent Computing (NuPIC) # Copyright (C) 2013, Numenta, Inc. Unless you have an agreement # with Numenta, Inc., for a separate license for this software code, the # following terms and conditions apply: # # This progra...
13,421
Python
.py
291
36.350515
117
0.618971
numenta/nupic-legacy
6,330
1,556
464
AGPL-3.0
9/5/2024, 5:13:42 PM (Europe/Amsterdam)
26,213
permutations.py
numenta_nupic-legacy/tests/swarming/nupic/swarming/experiments/legacy_cla_multistep/permutations.py
# ---------------------------------------------------------------------- # Numenta Platform for Intelligent Computing (NuPIC) # Copyright (C) 2013, Numenta, Inc. Unless you have an agreement # with Numenta, Inc., for a separate license for this software code, the # following terms and conditions apply: # # This progra...
4,770
Python
.py
114
34.04386
130
0.620682
numenta/nupic-legacy
6,330
1,556
464
AGPL-3.0
9/5/2024, 5:13:42 PM (Europe/Amsterdam)
26,214
description.py
numenta_nupic-legacy/tests/swarming/nupic/swarming/experiments/simple_cla_multistep/description.py
# ---------------------------------------------------------------------- # Numenta Platform for Intelligent Computing (NuPIC) # Copyright (C) 2013, Numenta, Inc. Unless you have an agreement # with Numenta, Inc., for a separate license for this software code, the # following terms and conditions apply: # # This progra...
13,727
Python
.py
299
35.953177
117
0.614072
numenta/nupic-legacy
6,330
1,556
464
AGPL-3.0
9/5/2024, 5:13:42 PM (Europe/Amsterdam)
26,215
permutations.py
numenta_nupic-legacy/tests/swarming/nupic/swarming/experiments/simple_cla_multistep/permutations.py
# ---------------------------------------------------------------------- # Numenta Platform for Intelligent Computing (NuPIC) # Copyright (C) 2013, Numenta, Inc. Unless you have an agreement # with Numenta, Inc., for a separate license for this software code, the # following terms and conditions apply: # # This progra...
5,107
Python
.py
121
33.247934
130
0.60258
numenta/nupic-legacy
6,330
1,556
464
AGPL-3.0
9/5/2024, 5:13:42 PM (Europe/Amsterdam)
26,216
description.py
numenta_nupic-legacy/tests/swarming/nupic/swarming/experiments/simpleV2/description.py
# ---------------------------------------------------------------------- # Numenta Platform for Intelligent Computing (NuPIC) # Copyright (C) 2013, Numenta, Inc. Unless you have an agreement # with Numenta, Inc., for a separate license for this software code, the # following terms and conditions apply: # # This progra...
15,403
Python
.py
325
36.738462
118
0.605184
numenta/nupic-legacy
6,330
1,556
464
AGPL-3.0
9/5/2024, 5:13:42 PM (Europe/Amsterdam)
26,217
permutations.py
numenta_nupic-legacy/tests/swarming/nupic/swarming/experiments/simpleV2/permutations.py
# ---------------------------------------------------------------------- # Numenta Platform for Intelligent Computing (NuPIC) # Copyright (C) 2013, Numenta, Inc. Unless you have an agreement # with Numenta, Inc., for a separate license for this software code, the # following terms and conditions apply: # # This progra...
5,477
Python
.py
112
43.625
168
0.686341
numenta/nupic-legacy
6,330
1,556
464
AGPL-3.0
9/5/2024, 5:13:42 PM (Europe/Amsterdam)
26,218
description.py
numenta_nupic-legacy/tests/swarming/nupic/swarming/experiments/dummy_multi_v2/description.py
# ---------------------------------------------------------------------- # Numenta Platform for Intelligent Computing (NuPIC) # Copyright (C) 2013, Numenta, Inc. Unless you have an agreement # with Numenta, Inc., for a separate license for this software code, the # following terms and conditions apply: # # This progra...
15,387
Python
.py
324
36.858025
118
0.605749
numenta/nupic-legacy
6,330
1,556
464
AGPL-3.0
9/5/2024, 5:13:42 PM (Europe/Amsterdam)
26,219
permutations.py
numenta_nupic-legacy/tests/swarming/nupic/swarming/experiments/dummy_multi_v2/permutations.py
# ---------------------------------------------------------------------- # Numenta Platform for Intelligent Computing (NuPIC) # Copyright (C) 2013, Numenta, Inc. Unless you have an agreement # with Numenta, Inc., for a separate license for this software code, the # following terms and conditions apply: # # This progra...
3,803
Python
.py
79
45.075949
168
0.712203
numenta/nupic-legacy
6,330
1,556
464
AGPL-3.0
9/5/2024, 5:13:42 PM (Europe/Amsterdam)
26,220
description.py
numenta_nupic-legacy/tests/swarming/nupic/swarming/experiments/field_contrib_temporal/description.py
# ---------------------------------------------------------------------- # Numenta Platform for Intelligent Computing (NuPIC) # Copyright (C) 2013, Numenta, Inc. Unless you have an agreement # with Numenta, Inc., for a separate license for this software code, the # following terms and conditions apply: # # This progra...
15,389
Python
.py
324
36.861111
118
0.605709
numenta/nupic-legacy
6,330
1,556
464
AGPL-3.0
9/5/2024, 5:13:42 PM (Europe/Amsterdam)
26,221
permutations.py
numenta_nupic-legacy/tests/swarming/nupic/swarming/experiments/field_contrib_temporal/permutations.py
# ---------------------------------------------------------------------- # Numenta Platform for Intelligent Computing (NuPIC) # Copyright (C) 2013, Numenta, Inc. Unless you have an agreement # with Numenta, Inc., for a separate license for this software code, the # following terms and conditions apply: # # This progra...
4,711
Python
.py
101
42.910891
168
0.708924
numenta/nupic-legacy
6,330
1,556
464
AGPL-3.0
9/5/2024, 5:13:42 PM (Europe/Amsterdam)
26,222
description.py
numenta_nupic-legacy/tests/swarming/nupic/swarming/experiments/smart_speculation_spatial_classification/description.py
# ---------------------------------------------------------------------- # Numenta Platform for Intelligent Computing (NuPIC) # Copyright (C) 2013, Numenta, Inc. Unless you have an agreement # with Numenta, Inc., for a separate license for this software code, the # following terms and conditions apply: # # This progra...
16,475
Python
.py
348
35.876437
118
0.58884
numenta/nupic-legacy
6,330
1,556
464
AGPL-3.0
9/5/2024, 5:13:42 PM (Europe/Amsterdam)
26,223
permutations.py
numenta_nupic-legacy/tests/swarming/nupic/swarming/experiments/smart_speculation_spatial_classification/permutations.py
# ---------------------------------------------------------------------- # Numenta Platform for Intelligent Computing (NuPIC) # Copyright (C) 2013, Numenta, Inc. Unless you have an agreement # with Numenta, Inc., for a separate license for this software code, the # following terms and conditions apply: # # This progra...
5,330
Python
.py
120
39.55
118
0.688211
numenta/nupic-legacy
6,330
1,556
464
AGPL-3.0
9/5/2024, 5:13:42 PM (Europe/Amsterdam)
26,224
description.py
numenta_nupic-legacy/tests/swarming/nupic/swarming/experiments/max_branching_temporal/description.py
# ---------------------------------------------------------------------- # Numenta Platform for Intelligent Computing (NuPIC) # Copyright (C) 2013, Numenta, Inc. Unless you have an agreement # with Numenta, Inc., for a separate license for this software code, the # following terms and conditions apply: # # This progra...
17,281
Python
.py
353
36.433428
118
0.581633
numenta/nupic-legacy
6,330
1,556
464
AGPL-3.0
9/5/2024, 5:13:42 PM (Europe/Amsterdam)
26,225
permutations.py
numenta_nupic-legacy/tests/swarming/nupic/swarming/experiments/max_branching_temporal/permutations.py
# ---------------------------------------------------------------------- # Numenta Platform for Intelligent Computing (NuPIC) # Copyright (C) 2013, Numenta, Inc. Unless you have an agreement # with Numenta, Inc., for a separate license for this software code, the # following terms and conditions apply: # # This progra...
5,856
Python
.py
129
41.170543
181
0.696422
numenta/nupic-legacy
6,330
1,556
464
AGPL-3.0
9/5/2024, 5:13:42 PM (Europe/Amsterdam)
26,226
description.py
numenta_nupic-legacy/tests/swarming/nupic/swarming/experiments/field_threshold_temporal/description.py
# ---------------------------------------------------------------------- # Numenta Platform for Intelligent Computing (NuPIC) # Copyright (C) 2013, Numenta, Inc. Unless you have an agreement # with Numenta, Inc., for a separate license for this software code, the # following terms and conditions apply: # # This progra...
17,229
Python
.py
352
36.400568
118
0.581161
numenta/nupic-legacy
6,330
1,556
464
AGPL-3.0
9/5/2024, 5:13:42 PM (Europe/Amsterdam)
26,227
permutations.py
numenta_nupic-legacy/tests/swarming/nupic/swarming/experiments/field_threshold_temporal/permutations.py
# ---------------------------------------------------------------------- # Numenta Platform for Intelligent Computing (NuPIC) # Copyright (C) 2013, Numenta, Inc. Unless you have an agreement # with Numenta, Inc., for a separate license for this software code, the # following terms and conditions apply: # # This progra...
5,393
Python
.py
117
42.188034
181
0.705009
numenta/nupic-legacy
6,330
1,556
464
AGPL-3.0
9/5/2024, 5:13:42 PM (Europe/Amsterdam)
26,228
description.py
numenta_nupic-legacy/tests/swarming/nupic/swarming/experiments/dummyV2/description.py
# ---------------------------------------------------------------------- # Numenta Platform for Intelligent Computing (NuPIC) # Copyright (C) 2013, Numenta, Inc. Unless you have an agreement # with Numenta, Inc., for a separate license for this software code, the # following terms and conditions apply: # # This progra...
15,344
Python
.py
323
36.845201
118
0.605779
numenta/nupic-legacy
6,330
1,556
464
AGPL-3.0
9/5/2024, 5:13:42 PM (Europe/Amsterdam)
26,229
permutations.py
numenta_nupic-legacy/tests/swarming/nupic/swarming/experiments/dummyV2/permutations.py
# ---------------------------------------------------------------------- # Numenta Platform for Intelligent Computing (NuPIC) # Copyright (C) 2013, Numenta, Inc. Unless you have an agreement # with Numenta, Inc., for a separate license for this software code, the # following terms and conditions apply: # # This progra...
3,634
Python
.py
76
44.723684
170
0.713115
numenta/nupic-legacy
6,330
1,556
464
AGPL-3.0
9/5/2024, 5:13:42 PM (Europe/Amsterdam)
26,230
LICENSE.tweepy-2.1.txt
numenta_nupic-legacy/external/licenses/LICENSE.tweepy-2.1.txt
MIT License Copyright (c) 2009-2010 Joshua Roesslein Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publi...
1,077
Python
.py
17
62.176471
77
0.822138
numenta/nupic-legacy
6,330
1,556
464
AGPL-3.0
9/5/2024, 5:13:42 PM (Europe/Amsterdam)
26,231
pkg_resources.py
numenta_nupic-legacy/external/linux32/lib/python2.6/site-packages/pkg_resources.py
"""Package resource API -------------------- A resource is a logical file contained within a package, or a logical subdirectory thereof. The package resource API expects resource names to have their path parts separated with ``/``, *not* whatever the local path separator is. Do not use os.path operations to manipula...
83,809
Python
.py
1,862
35.66971
94
0.622621
numenta/nupic-legacy
6,330
1,556
464
AGPL-3.0
9/5/2024, 5:13:42 PM (Europe/Amsterdam)
26,232
tzfile.py
numenta_nupic-legacy/external/linux32/lib/python2.6/site-packages/pytz/tzfile.py
''' $Id: tzfile.py,v 1.8 2004/06/03 00:15:24 zenzen Exp $ ''' from cStringIO import StringIO from datetime import datetime, timedelta from struct import unpack, calcsize from pytz.tzinfo import StaticTzInfo, DstTzInfo, memorized_ttinfo from pytz.tzinfo import memorized_datetime, memorized_timedelta def build_tzinfo...
3,937
Python
.py
98
30.72449
77
0.583617
numenta/nupic-legacy
6,330
1,556
464
AGPL-3.0
9/5/2024, 5:13:42 PM (Europe/Amsterdam)
26,233
__init__.py
numenta_nupic-legacy/external/linux32/lib/python2.6/site-packages/pytz/__init__.py
''' datetime.tzinfo timezone definitions generated from the Olson timezone database: ftp://elsie.nci.nih.gov/pub/tz*.tar.gz See the datetime section of the Python Library Reference for information on how to use these modules. ''' # The Olson database has historically been updated about 4 times a year OLSON_VERSI...
30,648
Python
.py
1,312
20.38872
81
0.694118
numenta/nupic-legacy
6,330
1,556
464
AGPL-3.0
9/5/2024, 5:13:42 PM (Europe/Amsterdam)
26,234
tzinfo.py
numenta_nupic-legacy/external/linux32/lib/python2.6/site-packages/pytz/tzinfo.py
'''Base classes and helpers for building zone specific tzinfo classes''' from datetime import datetime, timedelta, tzinfo from bisect import bisect_right try: set except NameError: from sets import Set as set import pytz __all__ = [] _timedelta_cache = {} def memorized_timedelta(seconds): '''Create only...
13,161
Python
.py
311
33.749196
79
0.624139
numenta/nupic-legacy
6,330
1,556
464
AGPL-3.0
9/5/2024, 5:13:42 PM (Europe/Amsterdam)
26,235
reference.py
numenta_nupic-legacy/external/linux32/lib/python2.6/site-packages/pytz/reference.py
''' Reference tzinfo implementations from the Python docs. Used for testing against as they are only correct for the years 1987 to 2006. Do not use these for real code. ''' from datetime import tzinfo, timedelta, datetime from pytz import utc, UTC, HOUR, ZERO # A class building tzinfo objects for fixed-offset time zo...
3,649
Python
.py
97
30.989691
76
0.641965
numenta/nupic-legacy
6,330
1,556
464
AGPL-3.0
9/5/2024, 5:13:42 PM (Europe/Amsterdam)
26,236
colors.py
numenta_nupic-legacy/external/linux32/lib/python2.6/site-packages/matplotlib/colors.py
""" A module for converting numbers or color arguments to *RGB* or *RGBA* *RGB* and *RGBA* are sequences of, respectively, 3 or 4 floats in the range 0-1. This module includes functions and classes for color specification conversions, and for mapping numbers to colors in a 1-D array of colors called a colormap. Color...
31,676
Python
.py
767
32.179922
85
0.531855
numenta/nupic-legacy
6,330
1,556
464
AGPL-3.0
9/5/2024, 5:13:42 PM (Europe/Amsterdam)
26,237
transforms.py
numenta_nupic-legacy/external/linux32/lib/python2.6/site-packages/matplotlib/transforms.py
""" matplotlib includes a framework for arbitrary geometric transformations that is used determine the final position of all elements drawn on the canvas. Transforms are composed into trees of :class:`TransformNode` objects whose actual value depends on their children. When the contents of children change, their pare...
75,638
Python
.py
1,895
30.928232
97
0.584582
numenta/nupic-legacy
6,330
1,556
464
AGPL-3.0
9/5/2024, 5:13:42 PM (Europe/Amsterdam)
26,238
legend.py
numenta_nupic-legacy/external/linux32/lib/python2.6/site-packages/matplotlib/legend.py
""" Place a legend on the axes at location loc. Labels are a sequence of strings and loc can be a string or an integer specifying the legend location The location codes are 'best' : 0, (only implemented for axis legends) 'upper right' : 1, 'upper left' : 2, 'lower left' : 3, 'lower right' : 4...
30,705
Python
.py
647
34.256569
116
0.56115
numenta/nupic-legacy
6,330
1,556
464
AGPL-3.0
9/5/2024, 5:13:42 PM (Europe/Amsterdam)
26,239
mlab.py
numenta_nupic-legacy/external/linux32/lib/python2.6/site-packages/matplotlib/mlab.py
""" Numerical python functions written for compatability with matlab(TM) commands with the same names. Matlab(TM) compatible functions ------------------------------- :func:`cohere` Coherence (normalized cross spectral density) :func:`csd` Cross spectral density uing Welch's average periodogram :func:`detrend`...
104,273
Python
.py
2,564
33.9922
141
0.629487
numenta/nupic-legacy
6,330
1,556
464
AGPL-3.0
9/5/2024, 5:13:42 PM (Europe/Amsterdam)
26,240
fontconfig_pattern.py
numenta_nupic-legacy/external/linux32/lib/python2.6/site-packages/matplotlib/fontconfig_pattern.py
""" A module for parsing and generating fontconfig patterns. See the `fontconfig pattern specification <http://www.fontconfig.org/fontconfig-user.html>`_ for more information. """ # Author : Michael Droettboom <mdroe@stsci.edu> # License : matplotlib license (PSF compatible) # This class is defined here because it m...
6,429
Python
.py
154
31.253247
84
0.516005
numenta/nupic-legacy
6,330
1,556
464
AGPL-3.0
9/5/2024, 5:13:42 PM (Europe/Amsterdam)
26,241
mpl.py
numenta_nupic-legacy/external/linux32/lib/python2.6/site-packages/matplotlib/mpl.py
from matplotlib import artist from matplotlib import axis from matplotlib import axes from matplotlib import cbook from matplotlib import collections from matplotlib import colors from matplotlib import colorbar from matplotlib import contour from matplotlib import dates from matplotlib import figure from matplotlib im...
785
Python
.py
26
29.192308
35
0.895916
numenta/nupic-legacy
6,330
1,556
464
AGPL-3.0
9/5/2024, 5:13:42 PM (Europe/Amsterdam)
26,242
pyplot.py
numenta_nupic-legacy/external/linux32/lib/python2.6/site-packages/matplotlib/pyplot.py
import sys import matplotlib from matplotlib import _pylab_helpers, interactive from matplotlib.cbook import dedent, silent_list, is_string_like, is_numlike from matplotlib.figure import Figure, figaspect from matplotlib.backend_bases import FigureCanvasBase from matplotlib.image import imread as _imread from matplotl...
77,521
Python
.py
2,170
29.981106
88
0.632719
numenta/nupic-legacy
6,330
1,556
464
AGPL-3.0
9/5/2024, 5:13:42 PM (Europe/Amsterdam)
26,243
quiver.py
numenta_nupic-legacy/external/linux32/lib/python2.6/site-packages/matplotlib/quiver.py
""" Support for plotting vector fields. Presently this contains Quiver and Barb. Quiver plots an arrow in the direction of the vector, with the size of the arrow related to the magnitude of the vector. Barbs are like quiver in that they point along a vector, but the magnitude of the vector is given schematically by t...
36,790
Python
.py
806
36.774194
80
0.608087
numenta/nupic-legacy
6,330
1,556
464
AGPL-3.0
9/5/2024, 5:13:42 PM (Europe/Amsterdam)
26,244
path.py
numenta_nupic-legacy/external/linux32/lib/python2.6/site-packages/matplotlib/path.py
""" Contains a class for managing paths (polylines). """ import math from weakref import WeakValueDictionary import numpy as np from numpy import ma from matplotlib._path import point_in_path, get_path_extents, \ point_in_path_collection, get_path_collection_extents, \ path_in_path, path_intersects_path, con...
20,263
Python
.py
481
31.669439
82
0.577806
numenta/nupic-legacy
6,330
1,556
464
AGPL-3.0
9/5/2024, 5:13:42 PM (Europe/Amsterdam)
26,245
patches.py
numenta_nupic-legacy/external/linux32/lib/python2.6/site-packages/matplotlib/patches.py
# -*- coding: utf-8 -*- from __future__ import division import math import matplotlib as mpl import numpy as np import matplotlib.cbook as cbook import matplotlib.artist as artist import matplotlib.colors as colors import matplotlib.transforms as transforms from matplotlib.path import Path # these are not available ...
110,325
Python
.py
2,673
29.265619
102
0.533629
numenta/nupic-legacy
6,330
1,556
464
AGPL-3.0
9/5/2024, 5:13:42 PM (Europe/Amsterdam)
26,246
cbook.py
numenta_nupic-legacy/external/linux32/lib/python2.6/site-packages/matplotlib/cbook.py
""" A collection of utility functions and classes. Many (but not all) from the Python Cookbook -- hence the name cbook """ from __future__ import generators import re, os, errno, sys, StringIO, traceback, locale, threading, types import time, datetime import warnings import numpy as np import numpy.ma as ma from weakr...
42,525
Python
.py
1,144
29.562937
159
0.601435
numenta/nupic-legacy
6,330
1,556
464
AGPL-3.0
9/5/2024, 5:13:42 PM (Europe/Amsterdam)
26,247
axes.py
numenta_nupic-legacy/external/linux32/lib/python2.6/site-packages/matplotlib/axes.py
from __future__ import division, generators import math, sys, warnings, datetime, new import numpy as np from numpy import ma import matplotlib rcParams = matplotlib.rcParams import matplotlib.artist as martist import matplotlib.axis as maxis import matplotlib.cbook as cbook import matplotlib.collections as mcoll im...
259,904
Python
.py
5,861
32.439515
83
0.546114
numenta/nupic-legacy
6,330
1,556
464
AGPL-3.0
9/5/2024, 5:13:42 PM (Europe/Amsterdam)
26,248
dviread.py
numenta_nupic-legacy/external/linux32/lib/python2.6/site-packages/matplotlib/dviread.py
""" An experimental module for reading dvi files output by TeX. Several limitations make this not (currently) useful as a general-purpose dvi preprocessor. Interface:: dvi = Dvi(filename, 72) for page in dvi: # iterate over pages w, h, d = page.width, page.height, page.descent for x,y,font,gl...
29,920
Python
.py
709
32.038082
91
0.546954
numenta/nupic-legacy
6,330
1,556
464
AGPL-3.0
9/5/2024, 5:13:42 PM (Europe/Amsterdam)
26,249
afm.py
numenta_nupic-legacy/external/linux32/lib/python2.6/site-packages/matplotlib/afm.py
""" This is a python interface to Adobe Font Metrics Files. Although a number of other python implementations exist (and may be more complete than mine) I decided not to go with them because either they were either 1) copyrighted or used a non-BSD compatible license 2) had too many dependencies and I wanted a fr...
15,057
Python
.py
416
28.298077
109
0.581062
numenta/nupic-legacy
6,330
1,556
464
AGPL-3.0
9/5/2024, 5:13:42 PM (Europe/Amsterdam)
26,250
figure.py
numenta_nupic-legacy/external/linux32/lib/python2.6/site-packages/matplotlib/figure.py
""" The figure module provides the top-level :class:`~matplotlib.artist.Artist`, the :class:`Figure`, which contains all the plot elements. The following classes are defined :class:`SubplotParams` control the default spacing of the subplots :class:`Figure` top level container for all plot elements """ impo...
38,331
Python
.py
912
31.475877
100
0.581762
numenta/nupic-legacy
6,330
1,556
464
AGPL-3.0
9/5/2024, 5:13:42 PM (Europe/Amsterdam)
26,251
rcsetup.py
numenta_nupic-legacy/external/linux32/lib/python2.6/site-packages/matplotlib/rcsetup.py
""" The rcsetup module contains the default values and the validation code for customization using matplotlib's rc settings. Each rc setting is assigned a default value and a function used to validate any attempted changes to that setting. The default values and validation functions are defined in the rcsetup module, ...
23,344
Python
.py
448
44.694196
123
0.602805
numenta/nupic-legacy
6,330
1,556
464
AGPL-3.0
9/5/2024, 5:13:42 PM (Europe/Amsterdam)
26,252
dates.py
numenta_nupic-legacy/external/linux32/lib/python2.6/site-packages/matplotlib/dates.py
""" Matplotlib provides sophisticated date plotting capabilities, standing on the shoulders of python :mod:`datetime`, the add-on modules :mod:`pytz` and :mod:`dateutils`. :class:`datetime` objects are converted to floating point numbers which represent the number of days since 0001-01-01 UTC. The helper functions :f...
33,969
Python
.py
873
30.972509
81
0.600438
numenta/nupic-legacy
6,330
1,556
464
AGPL-3.0
9/5/2024, 5:13:42 PM (Europe/Amsterdam)
26,253
offsetbox.py
numenta_nupic-legacy/external/linux32/lib/python2.6/site-packages/matplotlib/offsetbox.py
""" The OffsetBox is a simple container artist. The child artist are meant to be drawn at a relative position to its parent. The [VH]Packer, DrawingArea and TextArea are derived from the OffsetBox. The [VH]Packer automatically adjust the relative postisions of their children, which should be instances of the OffsetBo...
17,728
Python
.py
450
29.648889
86
0.581216
numenta/nupic-legacy
6,330
1,556
464
AGPL-3.0
9/5/2024, 5:13:42 PM (Europe/Amsterdam)
26,254
_pylab_helpers.py
numenta_nupic-legacy/external/linux32/lib/python2.6/site-packages/matplotlib/_pylab_helpers.py
import sys, gc def error_msg(msg): print >>sys.stderr, msgs class Gcf(object): _activeQue = [] figs = {} def get_fig_manager(num): figManager = Gcf.figs.get(num, None) if figManager is not None: Gcf.set_active(figManager) return figManager get_fig_manager = staticmethod(ge...
1,572
Python
.py
45
27.4
61
0.623265
numenta/nupic-legacy
6,330
1,556
464
AGPL-3.0
9/5/2024, 5:13:42 PM (Europe/Amsterdam)
26,255
collections.py
numenta_nupic-legacy/external/linux32/lib/python2.6/site-packages/matplotlib/collections.py
""" Classes for the efficient drawing of large collections of objects that share most properties, e.g. a large number of line segments or polygons. The classes are not meant to be as flexible as their single element counterparts (e.g. you may not be able to select all line styles) but they are meant to be fast for com...
39,876
Python
.py
939
32.13738
131
0.592839
numenta/nupic-legacy
6,330
1,556
464
AGPL-3.0
9/5/2024, 5:13:42 PM (Europe/Amsterdam)
26,256
finance.py
numenta_nupic-legacy/external/linux32/lib/python2.6/site-packages/matplotlib/finance.py
""" A collection of modules for collecting, analyzing and plotting financial data. User contributions welcome! """ #from __future__ import division import os, time, warnings from urllib import urlopen try: from hashlib import md5 except ImportError: from md5 import md5 #Deprecated in 2.5 try: import dateti...
20,558
Python
.py
480
32.9875
180
0.578723
numenta/nupic-legacy
6,330
1,556
464
AGPL-3.0
9/5/2024, 5:13:42 PM (Europe/Amsterdam)
26,257
scale.py
numenta_nupic-legacy/external/linux32/lib/python2.6/site-packages/matplotlib/scale.py
import textwrap import numpy as np from numpy import ma MaskedArray = ma.MaskedArray from cbook import dedent from ticker import NullFormatter, ScalarFormatter, LogFormatterMathtext, Formatter from ticker import NullLocator, LogLocator, AutoLocator, SymmetricalLogLocator, FixedLocator from transforms import Transform,...
13,414
Python
.py
357
28.218487
97
0.590688
numenta/nupic-legacy
6,330
1,556
464
AGPL-3.0
9/5/2024, 5:13:42 PM (Europe/Amsterdam)
26,258
ticker.py
numenta_nupic-legacy/external/linux32/lib/python2.6/site-packages/matplotlib/ticker.py
""" Tick locating and formatting ============================ This module contains classes to support completely configurable tick locating and formatting. Although the locators know nothing about major or minor ticks, they are used by the Axis class to support major and minor tick locating and formatting. Generic t...
37,420
Python
.py
970
29.780412
109
0.586351
numenta/nupic-legacy
6,330
1,556
464
AGPL-3.0
9/5/2024, 5:13:42 PM (Europe/Amsterdam)
26,259
artist.py
numenta_nupic-legacy/external/linux32/lib/python2.6/site-packages/matplotlib/artist.py
from __future__ import division import re, warnings import matplotlib import matplotlib.cbook as cbook from transforms import Bbox, IdentityTransform, TransformedBbox, TransformedPath from path import Path ## Note, matplotlib artists use the doc strings for set and get # methods to enable the introspection methods of ...
33,042
Python
.py
855
29.326316
221
0.58659
numenta/nupic-legacy
6,330
1,556
464
AGPL-3.0
9/5/2024, 5:13:42 PM (Europe/Amsterdam)
26,260
text.py
numenta_nupic-legacy/external/linux32/lib/python2.6/site-packages/matplotlib/text.py
""" Classes for including text in a figure. """ from __future__ import division import math import numpy as np from matplotlib import cbook from matplotlib import rcParams import artist from artist import Artist from cbook import is_string_like, maxdict from font_manager import FontProperties from patches import bbox...
55,366
Python
.py
1,299
32.357968
209
0.564406
numenta/nupic-legacy
6,330
1,556
464
AGPL-3.0
9/5/2024, 5:13:42 PM (Europe/Amsterdam)
26,261
__init__.py
numenta_nupic-legacy/external/linux32/lib/python2.6/site-packages/matplotlib/__init__.py
""" This is an object-orient plotting library. A procedural interface is provided by the companion pylab module, which may be imported directly, e.g:: from pylab import * or using ipython:: ipython -pylab For the most part, direct use of the object-oriented library is encouraged when programming rather tha...
28,184
Python
.py
698
32.866762
236
0.628524
numenta/nupic-legacy
6,330
1,556
464
AGPL-3.0
9/5/2024, 5:13:42 PM (Europe/Amsterdam)
26,262
axes3d.py
numenta_nupic-legacy/external/linux32/lib/python2.6/site-packages/matplotlib/axes3d.py
raise NotImplementedError('axes3d is not supported in matplotlib-0.98. You may want to try the 0.91.x maintenance branch')
124
Python
.py
1
123
123
0.796748
numenta/nupic-legacy
6,330
1,556
464
AGPL-3.0
9/5/2024, 5:13:42 PM (Europe/Amsterdam)
26,263
type1font.py
numenta_nupic-legacy/external/linux32/lib/python2.6/site-packages/matplotlib/type1font.py
""" A class representing a Type 1 font. This version merely reads pfa and pfb files and splits them for embedding in pdf files. There is no support yet for subsetting or anything like that. Usage (subject to change): font = Type1Font(filename) clear_part, encrypted_part, finale = font.parts Source: Adobe Tech...
6,406
Python
.py
161
26.881988
93
0.48436
numenta/nupic-legacy
6,330
1,556
464
AGPL-3.0
9/5/2024, 5:13:42 PM (Europe/Amsterdam)
26,264
_cm.py
numenta_nupic-legacy/external/linux32/lib/python2.6/site-packages/matplotlib/_cm.py
""" Color data and pre-defined cmap objects. This is a helper for cm.py, originally part of that file. Separating the data (this file) from cm.py makes both easier to deal with. Objects visible in cm.py are the individual cmap objects ('autumn', etc.) and a dictionary, 'datad', including all of these objects. """ im...
375,423
Python
.py
5,825
61.546609
92
0.782012
numenta/nupic-legacy
6,330
1,556
464
AGPL-3.0
9/5/2024, 5:13:42 PM (Europe/Amsterdam)
26,265
table.py
numenta_nupic-legacy/external/linux32/lib/python2.6/site-packages/matplotlib/table.py
""" Place a table below the x-axis at location loc. The table consists of a grid of cells. The grid need not be rectangular and can have holes. Cells are added by specifying their row and column. For the purposes of positioning the cell at (0, 0) is assumed to be at the top left and the cell at (max_row, max_col) i...
16,757
Python
.py
431
29.053364
143
0.561941
numenta/nupic-legacy
6,330
1,556
464
AGPL-3.0
9/5/2024, 5:13:42 PM (Europe/Amsterdam)
26,266
lines.py
numenta_nupic-legacy/external/linux32/lib/python2.6/site-packages/matplotlib/lines.py
""" This module contains all the 2D line class which can draw with a variety of line styles, markers and colors. """ # TODO: expose cap and join style attrs from __future__ import division import numpy as np from numpy import ma from matplotlib import verbose import artist from artist import Artist from cbook import ...
48,233
Python
.py
1,116
33.258065
90
0.572304
numenta/nupic-legacy
6,330
1,556
464
AGPL-3.0
9/5/2024, 5:13:42 PM (Europe/Amsterdam)
26,267
backend_bases.py
numenta_nupic-legacy/external/linux32/lib/python2.6/site-packages/matplotlib/backend_bases.py
""" Abstract base classes define the primitives that renderers and graphics contexts must implement to serve as a matplotlib backend :class:`RendererBase` An abstract base class to handle drawing/rendering operations. :class:`FigureCanvasBase` The abstraction layer that separates the :class:`matplotlib.fi...
69,740
Python
.py
1,718
30.583236
98
0.59163
numenta/nupic-legacy
6,330
1,556
464
AGPL-3.0
9/5/2024, 5:13:42 PM (Europe/Amsterdam)
26,268
_mathtext_data.py
numenta_nupic-legacy/external/linux32/lib/python2.6/site-packages/matplotlib/_mathtext_data.py
""" font data tables for truetype and afm computer modern fonts """ # this dict maps symbol names to fontnames, glyphindex. To get the # glyph index from the character code, you have to use get_charmap """ from matplotlib.ft2font import FT2Font font = FT2Font('/usr/local/share/matplotlib/cmr10.ttf') items = font.get_...
57,988
Python
.py
2,510
20.624701
82
0.541793
numenta/nupic-legacy
6,330
1,556
464
AGPL-3.0
9/5/2024, 5:13:42 PM (Europe/Amsterdam)
26,269
units.py
numenta_nupic-legacy/external/linux32/lib/python2.6/site-packages/matplotlib/units.py
""" The classes here provide support for using custom classes with matplotlib, eg those that do not expose the array interface but know how to converter themselves to arrays. It also supoprts classes with units and units conversion. Use cases include converters for custom objects, eg a list of datetime objects, as we...
4,810
Python
.py
118
32.415254
74
0.658165
numenta/nupic-legacy
6,330
1,556
464
AGPL-3.0
9/5/2024, 5:13:42 PM (Europe/Amsterdam)
26,270
contour.py
numenta_nupic-legacy/external/linux32/lib/python2.6/site-packages/matplotlib/contour.py
""" These are classes to support contour plotting and labelling for the axes class """ from __future__ import division import warnings import matplotlib as mpl import numpy as np from numpy import ma import matplotlib._cntr as _cntr import matplotlib.path as path import matplotlib.ticker as ticker import matplotlib.cm...
42,063
Python
.py
912
34.394737
85
0.573364
numenta/nupic-legacy
6,330
1,556
464
AGPL-3.0
9/5/2024, 5:13:42 PM (Europe/Amsterdam)
26,271
widgets.py
numenta_nupic-legacy/external/linux32/lib/python2.6/site-packages/matplotlib/widgets.py
""" GUI Neutral widgets All of these widgets require you to predefine an Axes instance and pass that as the first arg. matplotlib doesn't try to be too smart in layout -- you have to figure out how wide and tall you want your Axes to be to accommodate your widget. """ import numpy as np from mlab import dist from p...
40,833
Python
.py
968
31.97624
115
0.601723
numenta/nupic-legacy
6,330
1,556
464
AGPL-3.0
9/5/2024, 5:13:42 PM (Europe/Amsterdam)
26,272
cm.py
numenta_nupic-legacy/external/linux32/lib/python2.6/site-packages/matplotlib/cm.py
""" This module contains the instantiations of color mapping classes """ import numpy as np from numpy import ma import matplotlib as mpl import matplotlib.colors as colors import matplotlib.cbook as cbook from matplotlib._cm import * def get_cmap(name=None, lut=None): """ Get a colormap instance, defaultin...
5,385
Python
.py
148
27.027027
71
0.576997
numenta/nupic-legacy
6,330
1,556
464
AGPL-3.0
9/5/2024, 5:13:42 PM (Europe/Amsterdam)
26,273
pylab.py
numenta_nupic-legacy/external/linux32/lib/python2.6/site-packages/matplotlib/pylab.py
""" This is a procedural interface to the matplotlib object-oriented plotting library. The following plotting commands are provided; the majority have Matlab(TM) analogs and similar argument. _Plotting commands acorr - plot the autocorrelation function annotate - annotate something in the figure arrow ...
10,245
Python
.py
223
42.587444
97
0.722867
numenta/nupic-legacy
6,330
1,556
464
AGPL-3.0
9/5/2024, 5:13:42 PM (Europe/Amsterdam)
26,274
bezier.py
numenta_nupic-legacy/external/linux32/lib/python2.6/site-packages/matplotlib/bezier.py
""" A module providing some utility functions regarding bezier path manipulation. """ import numpy as np from math import sqrt from matplotlib.path import Path from operator import xor # some functions def get_intersection(cx1, cy1, cos_t1, sin_t1, cx2, cy2, cos_t2, sin_t2): """ return a...
14,387
Python
.py
328
35.088415
104
0.593996
numenta/nupic-legacy
6,330
1,556
464
AGPL-3.0
9/5/2024, 5:13:42 PM (Europe/Amsterdam)
26,275
colorbar.py
numenta_nupic-legacy/external/linux32/lib/python2.6/site-packages/matplotlib/colorbar.py
''' Colorbar toolkit with two classes and a function: :class:`ColorbarBase` the base class with full colorbar drawing functionality. It can be used as-is to make a colorbar for a given colormap; a mappable object (e.g., image) is not needed. :class:`Colorbar` the derived class ...
27,260
Python
.py
656
31.289634
93
0.554571
numenta/nupic-legacy
6,330
1,556
464
AGPL-3.0
9/5/2024, 5:13:42 PM (Europe/Amsterdam)
26,276
texmanager.py
numenta_nupic-legacy/external/linux32/lib/python2.6/site-packages/matplotlib/texmanager.py
""" This module supports embedded TeX expressions in matplotlib via dvipng and dvips for the raster and postscript backends. The tex and dvipng/dvips information is cached in ~/.matplotlib/tex.cache for reuse between sessions Requirements: * latex * \*Agg backends: dvipng * PS backend: latex w/ psfrag, dvips, and Gh...
16,818
Python
.py
377
33.469496
135
0.565069
numenta/nupic-legacy
6,330
1,556
464
AGPL-3.0
9/5/2024, 5:13:42 PM (Europe/Amsterdam)
26,277
axis.py
numenta_nupic-legacy/external/linux32/lib/python2.6/site-packages/matplotlib/axis.py
""" Classes for the ticks and x and y axis """ from __future__ import division from matplotlib import rcParams import matplotlib.artist as artist import matplotlib.cbook as cbook import matplotlib.font_manager as font_manager import matplotlib.lines as mlines import matplotlib.patches as mpatches import matplotlib.sc...
54,453
Python
.py
1,305
31.527969
132
0.604136
numenta/nupic-legacy
6,330
1,556
464
AGPL-3.0
9/5/2024, 5:13:42 PM (Europe/Amsterdam)
26,278
windowing.py
numenta_nupic-legacy/external/linux32/lib/python2.6/site-packages/matplotlib/windowing.py
from matplotlib import rcParams try: if not rcParams['tk.window_focus']: raise ImportError from _windowing import GetForegroundWindow, SetForegroundWindow except ImportError: def GetForegroundWindow(): return 0 def SetForegroundWindow(hwnd): pass class FocusManager: def __i...
454
Python
.py
15
24.8
67
0.715596
numenta/nupic-legacy
6,330
1,556
464
AGPL-3.0
9/5/2024, 5:13:42 PM (Europe/Amsterdam)
26,279
font_manager.py
numenta_nupic-legacy/external/linux32/lib/python2.6/site-packages/matplotlib/font_manager.py
""" A module for finding, managing, and using fonts across platforms. This module provides a single :class:`FontManager` instance that can be shared across backends and platforms. The :func:`findfont` function returns the best TrueType (TTF) font file in the local or system font path that matches the specified :class...
42,655
Python
.py
1,121
29.15165
96
0.595298
numenta/nupic-legacy
6,330
1,556
464
AGPL-3.0
9/5/2024, 5:13:42 PM (Europe/Amsterdam)
26,280
image.py
numenta_nupic-legacy/external/linux32/lib/python2.6/site-packages/matplotlib/image.py
""" The image module supports basic image loading, rescaling and display operations. """ from __future__ import division import os, warnings import numpy as np from numpy import ma from matplotlib import rcParams from matplotlib import artist as martist from matplotlib import colors as mcolors from matplotlib import...
28,764
Python
.py
713
30.262272
142
0.574613
numenta/nupic-legacy
6,330
1,556
464
AGPL-3.0
9/5/2024, 5:13:42 PM (Europe/Amsterdam)
26,281
mathtext.py
numenta_nupic-legacy/external/linux32/lib/python2.6/site-packages/matplotlib/mathtext.py
r""" :mod:`~matplotlib.mathtext` is a module for parsing a subset of the TeX math syntax and drawing them to a matplotlib backend. For a tutorial of its usage see :ref:`mathtext-tutorial`. This document is primarily concerned with implementation details. The module uses pyparsing_ to parse the TeX expression. .. _p...
101,723
Python
.py
2,503
29.952457
106
0.53857
numenta/nupic-legacy
6,330
1,556
464
AGPL-3.0
9/5/2024, 5:13:42 PM (Europe/Amsterdam)
26,282
blocking_input.py
numenta_nupic-legacy/external/linux32/lib/python2.6/site-packages/matplotlib/blocking_input.py
""" This provides several classes used for blocking interaction with figure windows: :class:`BlockingInput` creates a callable object to retrieve events in a blocking way for interactive sessions :class:`BlockingKeyMouseInput` creates a callable object to retrieve key or mouse clicks in a blocking way for int...
12,119
Python
.py
306
29.859477
127
0.601877
numenta/nupic-legacy
6,330
1,556
464
AGPL-3.0
9/5/2024, 5:13:42 PM (Europe/Amsterdam)
26,283
interpolate.py
numenta_nupic-legacy/external/linux32/lib/python2.6/site-packages/matplotlib/delaunay/interpolate.py
import numpy as np from matplotlib._delaunay import compute_planes, linear_interpolate_grid, nn_interpolate_grid from matplotlib._delaunay import nn_interpolate_unstructured __all__ = ['LinearInterpolator', 'NNInterpolator'] def slice2gridspec(key): """Convert a 2-tuple of slices to start,stop,steps for x and y....
7,068
Python
.py
127
49.086614
93
0.721338
numenta/nupic-legacy
6,330
1,556
464
AGPL-3.0
9/5/2024, 5:13:42 PM (Europe/Amsterdam)
26,284
testfuncs.py
numenta_nupic-legacy/external/linux32/lib/python2.6/site-packages/matplotlib/delaunay/testfuncs.py
"""Some test functions for bivariate interpolation. Most of these have been yoinked from ACM TOMS 792. http://netlib.org/toms/792 """ import numpy as np from triangulate import Triangulation class TestData(dict): def __init__(self, *args, **kwds): dict.__init__(self, *args, **kwds) self.__dict__ ...
20,890
Python
.py
415
39.6
100
0.551422
numenta/nupic-legacy
6,330
1,556
464
AGPL-3.0
9/5/2024, 5:13:42 PM (Europe/Amsterdam)
26,285
__init__.py
numenta_nupic-legacy/external/linux32/lib/python2.6/site-packages/matplotlib/delaunay/__init__.py
"""Delaunay triangulation and interpolation tools. :Author: Robert Kern <robert.kern@gmail.com> :Copyright: Copyright 2005 Robert Kern. :License: BSD-style license. See LICENSE.txt in the scipy source directory. """ from matplotlib._delaunay import delaunay from triangulate import * from interpolate import * __versio...
332
Python
.py
9
35.666667
75
0.794393
numenta/nupic-legacy
6,330
1,556
464
AGPL-3.0
9/5/2024, 5:13:42 PM (Europe/Amsterdam)
26,286
triangulate.py
numenta_nupic-legacy/external/linux32/lib/python2.6/site-packages/matplotlib/delaunay/triangulate.py
import warnings try: set except NameError: from sets import Set as set import numpy as np from matplotlib._delaunay import delaunay from interpolate import LinearInterpolator, NNInterpolator __all__ = ['Triangulation', 'DuplicatePointWarning'] class DuplicatePointWarning(RuntimeWarning): """Duplicate p...
7,732
Python
.py
163
37.957055
85
0.616111
numenta/nupic-legacy
6,330
1,556
464
AGPL-3.0
9/5/2024, 5:13:42 PM (Europe/Amsterdam)
26,287
polar.py
numenta_nupic-legacy/external/linux32/lib/python2.6/site-packages/matplotlib/projections/polar.py
import math import numpy as npy import matplotlib rcParams = matplotlib.rcParams from matplotlib.artist import kwdocd from matplotlib.axes import Axes from matplotlib import cbook from matplotlib.patches import Circle from matplotlib.path import Path from matplotlib.ticker import Formatter, Locator from matplotlib.tr...
20,981
Python
.py
472
35.819915
108
0.555801
numenta/nupic-legacy
6,330
1,556
464
AGPL-3.0
9/5/2024, 5:13:42 PM (Europe/Amsterdam)
26,288
__init__.py
numenta_nupic-legacy/external/linux32/lib/python2.6/site-packages/matplotlib/projections/__init__.py
from geo import AitoffAxes, HammerAxes, LambertAxes from polar import PolarAxes from matplotlib import axes class ProjectionRegistry(object): """ Manages the set of projections available to the system. """ def __init__(self): self._all_projection_types = {} def register(self, *projections)...
2,179
Python
.py
66
26.969697
70
0.679389
numenta/nupic-legacy
6,330
1,556
464
AGPL-3.0
9/5/2024, 5:13:42 PM (Europe/Amsterdam)
26,289
geo.py
numenta_nupic-legacy/external/linux32/lib/python2.6/site-packages/matplotlib/projections/geo.py
import math import numpy as np import numpy.ma as ma import matplotlib rcParams = matplotlib.rcParams from matplotlib.artist import kwdocd from matplotlib.axes import Axes from matplotlib import cbook from matplotlib.patches import Circle from matplotlib.path import Path from matplotlib.ticker import Formatter, Locat...
19,738
Python
.py
474
31.318565
90
0.576359
numenta/nupic-legacy
6,330
1,556
464
AGPL-3.0
9/5/2024, 5:13:42 PM (Europe/Amsterdam)
26,290
_nc_imports.py
numenta_nupic-legacy/external/linux32/lib/python2.6/site-packages/matplotlib/numerix/_nc_imports.py
from Numeric import array, ravel, reshape, shape, alltrue, sometrue from Numeric import Int8, UInt8, Int16, UInt16, Int32, UInt32, \ Float32, Float64, Complex32, Complex64, Float, Int, Complex from numpy import isnan as _isnan class _TypeNamespace: """Numeric compatible type aliases for use with extension fun...
1,220
Python
.py
34
31.441176
75
0.642615
numenta/nupic-legacy
6,330
1,556
464
AGPL-3.0
9/5/2024, 5:13:42 PM (Europe/Amsterdam)
26,291
_na_imports.py
numenta_nupic-legacy/external/linux32/lib/python2.6/site-packages/matplotlib/numerix/_na_imports.py
"""Imports from numarray for numerix, the numarray/Numeric interchangeability module. These array functions are used when numarray is chosen. """ from numarray import Int8, UInt8, Int16, UInt16, Int32, UInt32, \ Float32, Float64, Complex32, Complex64, Float, Int, Complex,\ typecode import numarray.ieeespecia...
2,492
Python
.py
67
31.253731
109
0.629967
numenta/nupic-legacy
6,330
1,556
464
AGPL-3.0
9/5/2024, 5:13:42 PM (Europe/Amsterdam)
26,292
__init__.py
numenta_nupic-legacy/external/linux32/lib/python2.6/site-packages/matplotlib/numerix/__init__.py
""" numerix imports either Numeric or numarray based on various selectors. 0. If the value "--numpy","--numarray" or "--Numeric" is specified on the command line, then numerix imports the specified array package. 1. The value of numerix in matplotlibrc: either Numeric or numarray 2. If none of the above is...
5,473
Python
.py
147
32.285714
157
0.678113
numenta/nupic-legacy
6,330
1,556
464
AGPL-3.0
9/5/2024, 5:13:42 PM (Europe/Amsterdam)
26,293
_sp_imports.py
numenta_nupic-legacy/external/linux32/lib/python2.6/site-packages/matplotlib/numerix/_sp_imports.py
try: from numpy.oldnumeric import Int8, UInt8, \ Int16, UInt16, \ Int32, UInt32, \ Float32, Float64, \ Complex32, Complex64, \ Float, Int, Complex except ImportError: from numpy import Int8, UInt8, \ Int16, UInt16, \ Int32, UInt32, \ Float3...
922
Python
.py
31
24.064516
75
0.601351
numenta/nupic-legacy
6,330
1,556
464
AGPL-3.0
9/5/2024, 5:13:42 PM (Europe/Amsterdam)
26,294
__init__.py
numenta_nupic-legacy/external/linux32/lib/python2.6/site-packages/matplotlib/numerix/linear_algebra/__init__.py
from matplotlib.numerix import which if which[0] == "numarray": from numarray.linear_algebra import * elif which[0] == "numeric": from LinearAlgebra import * elif which[0] == "numpy": try: from numpy.oldnumeric.linear_algebra import * except ImportError: from numpy.linalg.old import * e...
376
Python
.py
12
27.25
53
0.713499
numenta/nupic-legacy
6,330
1,556
464
AGPL-3.0
9/5/2024, 5:13:42 PM (Europe/Amsterdam)
26,295
__init__.py
numenta_nupic-legacy/external/linux32/lib/python2.6/site-packages/matplotlib/numerix/random_array/__init__.py
from matplotlib.numerix import which if which[0] == "numarray": from numarray.random_array import * elif which[0] == "numeric": from RandomArray import * elif which[0] == "numpy": try: from numpy.oldnumeric.random_array import * except ImportError: from numpy.random import * else: r...
366
Python
.py
12
26.416667
51
0.708215
numenta/nupic-legacy
6,330
1,556
464
AGPL-3.0
9/5/2024, 5:13:42 PM (Europe/Amsterdam)
26,296
__init__.py
numenta_nupic-legacy/external/linux32/lib/python2.6/site-packages/matplotlib/numerix/npyma/__init__.py
from matplotlib.numerix import use_maskedarray if use_maskedarray: from maskedarray import * print "using maskedarray" else: try: from numpy.ma import * # numpy 1.05 and later except ImportError: from numpy.core.ma import * # earlier #print "using ma"
298
Python
.py
10
25.1
60
0.682927
numenta/nupic-legacy
6,330
1,556
464
AGPL-3.0
9/5/2024, 5:13:42 PM (Europe/Amsterdam)
26,297
__init__.py
numenta_nupic-legacy/external/linux32/lib/python2.6/site-packages/matplotlib/numerix/mlab/__init__.py
from matplotlib.numerix import which if which[0] == "numarray": from numarray.linear_algebra.mlab import * elif which[0] == "numeric": from MLab import * elif which[0] == "numpy": try: from numpy.oldnumeric.mlab import * except ImportError: from numpy.lib.mlab import * else: raise Run...
381
Python
.py
14
23.642857
50
0.70411
numenta/nupic-legacy
6,330
1,556
464
AGPL-3.0
9/5/2024, 5:13:42 PM (Europe/Amsterdam)
26,298
__init__.py
numenta_nupic-legacy/external/linux32/lib/python2.6/site-packages/matplotlib/numerix/ma/__init__.py
from matplotlib.numerix import which, use_maskedarray if which[0] == "numarray": from numarray.ma import * nomask = None getmaskorNone = getmask elif which[0] == "numeric": from MA import * nomask = None getmaskorNone = getmask elif which[0] == "numpy": if use_maskedarray: from mask...
749
Python
.py
26
22.384615
64
0.620499
numenta/nupic-legacy
6,330
1,556
464
AGPL-3.0
9/5/2024, 5:13:42 PM (Europe/Amsterdam)
26,299
__init__.py
numenta_nupic-legacy/external/linux32/lib/python2.6/site-packages/matplotlib/numerix/fft/__init__.py
from matplotlib.numerix import which if which[0] == "numarray": from numarray.fft import * elif which[0] == "numeric": from FFT import * elif which[0] == "numpy": try: from numpy.oldnumeric.fft import * except ImportError: from numpy.dft.old import * else: raise RuntimeError("invali...
341
Python
.py
12
24.333333
50
0.689024
numenta/nupic-legacy
6,330
1,556
464
AGPL-3.0
9/5/2024, 5:13:42 PM (Europe/Amsterdam)