Changeset 1073 for SHX


Ignore:
Timestamp:
01/02/16 01:45:36 (4 years ago)
Author:
klaus
Message:

added command beam

Location:
SHX/trunk/SeismicHandler
Files:
1 added
3 edited

Legend:

Unmodified
Added
Removed
  • SHX/trunk/SeismicHandler/commands/psd.py

    r1063 r1073  
    1212import pylab 
    1313 
    14 provides = {"psd": "psd"} 
     14provides = {"psd": "psd", "fft": "psd"} 
    1515class psd(BaseCommand): 
    1616    """ 
  • SHX/trunk/SeismicHandler/commands/set.py

    r1063 r1073  
    6161        for t in tlist: 
    6262            t.set_info(name, value) 
     63            t.invalidate_cache() 
    6364 
    6465        if default: 
  • SHX/trunk/SeismicHandler/modules/wx_.py

    r1072 r1073  
    933933        # sections with ticks and time string 
    934934 
    935         prec = abs(int(round(1 / math.log10(chunk_t)))) 
     935        try: 
     936            prec = abs(int(round(1 / math.log10(chunk_t)))) 
     937        except: 
     938            prec = 1 
    936939        mask = "%%.%uf" % prec 
    937940        for i in range(int(PARTS)): 
Note: See TracChangeset for help on using the changeset viewer.