Changeset 7349:f137b8aeff62 in orange


Ignore:
Timestamp:
02/03/11 22:54:26 (3 years ago)
Author:
janezd <janez.demsar@…>
Branch:
default
Convert:
5df7737bf08f7d6cfd1970019dbe72f00b52c6c5
Message:
  • marked modules in the new scheme to which functions should go
File:
1 edited

Legend:

Unmodified
Added
Removed
  • orange/orngMisc.py

    r6538 r7349  
    11from __future__ import with_statement 
    22import random, types 
     3 
     4## -> Orange.misc 
    35 
    46def getobjectname(x, default=""): 
     
    2628        return x, 0 
    2729     
     30 
     31## -> Orange.misc.counters 
    2832 
    2933class BooleanCounter: 
     
    175179 
    176180 
     181## Orange.misc.selection 
    177182 
    178183import random 
     
    252257 
    253258 
     259# Orange.misc 
     260 
    254261def frange(*argw): 
    255262    start, stop, step = 0.0, 1.0, 0.1 
     
    275282 
    276283 
     284# Orange.misc 
     285 
    277286verbose = 0 
    278287 
     
    329338def progressBarMilestones(count, iterations=100): 
    330339    return set([int(i*count/float(iterations)) for i in range(iterations)]) 
    331          
     340 
     341 
     342## Odkrij, kdo to uporablja 
     343       
    332344class ColorPalette(object): 
    333345    def __init__(self, colors, gamma=None, overflow=(255, 255, 255), underflow=(255, 255, 255), unknown=(0, 0, 0)): 
     
    427439    return wrapper   
    428440 
     441 
     442## -> Orange.misc.render 
     443 
    429444import numpy 
    430445 
Note: See TracChangeset for help on using the changeset viewer.