Please enable JavaScript to use RhodeCode Enterprise
##// END OF EJS Templates
Miguel Valdez
- Tue, 08 May 2012 21:56:57
Show More
0
schainpy/IO/CorrelationIO.py
schainpy/IO/CorrelationIO.py
+4
-9
@@
-5,26
+5,21
Created on 23/01/2012
5
5
@version $Id$
6
6
'''
7
7
8
from DataIO import DataReader
9
from DataIO import DataWriter
8
from JRO DataIO import JRODataIO
10
9
11
class CorrelationReader ( DataReader):
10
class CorrelationReader ( JRODataIO ):
12
11
13
12
def __init__ ( self ):
14
13
15
14
pass
16
15
17
class CorrelationWriter ( DataWriter):
16
class CorrelationWriter ( JRODataIO ):
18
17
19
18
def __init__ ( self ):
20
21
19
pass
22
20
23
def puData ( self ):
21
def put Data ( self ):
24
22
pass
25
23
26
24
def writeBlock ( self ):
27
25
pass
No newline at end of file
28
29
30
No newline at end of file
0
schainpy/IO/JRODataIO.py
schainpy/IO/JRODataIO.py
+1
-1
0
schainpy/IO/SpectraIO.py
schainpy/IO/SpectraIO.py
+7
-2
@@
-263,17
+263,22
class SpectraReader( JRODataReader ):
263
263
264
264
if not ( self . m_ProcessingHeader . shif_fft ):
265
265
spc = numpy . roll ( spc , self . m_ProcessingHeader . profilesPerBlock / 2 , axis = 2 ) #desplaza a la derecha en el eje 2 determinadas posiciones
266
266
267
if cspc != None :
267
268
cspc = numpy . roll ( cspc , self . m_ProcessingHeader . profilesPerBlock / 2 , axis = 2 ) #desplaza a la derecha en el eje 2 determinadas posiciones
268
269
269
270
spc = numpy . transpose ( spc , ( 0 , 2 , 1 ) )
270
if cspc != None : cspc = numpy . transpose ( cspc , ( 0 , 2 , 1 ) )
271
271
272
self . data_spc = spc
272
if cspc != None :
273
cspc = numpy . transpose ( cspc , ( 0 , 2 , 1 ) )
274
275
273
276
if cspc != None :
274
277
self . data_cspc = cspc [ 'real' ] + cspc [ 'imag' ] * 1j
275
278
else :
276
279
self . data_cspc = None
280
281
self . data_spc = spc
277
282
self . data_dc = dc [ 'real' ] + dc [ 'imag' ] * 1j
278
283
279
284
self . datablockIndex = 0
0
schainpy/IO/TestIO.py
schainpy/IO/TestIO.py
+1
-1
@@
-9,7
+9,7
import sys
9
9
import datetime
10
10
import time
11
11
12
class TestIO ():
12
class TestIO :
13
13
14
14
def __init__ ( self ):
15
15
self . setValues ()
0
schainpy/IO/VoltageIO.py
schainpy/IO/VoltageIO.py
0
0
1
NO CONTENT: modified file
Site-wide shortcuts
/
Use quick search box
g h
Goto home page
g g
Goto my private gists page
g G
Goto my public gists page
g 0-9
Goto bookmarked items from 0-9
n r
New repository page
n g
New gist page
Repositories
g s
Goto summary page
g c
Goto changelog page
g f
Goto files page
g F
Goto files page with file search activated
g p
Goto pull requests page
g o
Goto repository settings
g O
Goto repository access permissions settings
t s
Toggle sidebar on some pages