@@ -1466,21 +1466,21 class JRODataWriter(JRODataIO): | |||
|
1466 | 1466 | |
|
1467 | 1467 | return 1 |
|
1468 | 1468 | |
|
1469 |
def setup(self, dataOut, path, blocksPerFile, profilesPerBlock=64, set=0, ext=None, datatype= |
|
|
1469 | def setup(self, dataOut, path, blocksPerFile, profilesPerBlock=64, set=0, ext=None, datatype=3): | |
|
1470 | 1470 | """ |
|
1471 | 1471 | Setea el tipo de formato en la cual sera guardada la data y escribe el First Header |
|
1472 | 1472 | |
|
1473 | 1473 | Inputs: |
|
1474 | 1474 | path : directory where data will be saved |
|
1475 | 1475 | profilesPerBlock : number of profiles per block |
|
1476 | set : file set | |
|
1476 | set : initial file set | |
|
1477 | 1477 | datatype : An integer number that defines data type: |
|
1478 | 1478 | 0 : int8 (1 byte) |
|
1479 | 1479 | 1 : int16 (2 bytes) |
|
1480 | 1480 | 2 : int32 (4 bytes) |
|
1481 | 1481 | 3 : int64 (8 bytes) |
|
1482 | 4 : float (4 bytes) | |
|
1483 | 5 : double (8 bytes) | |
|
1482 | 4 : float32 (4 bytes) | |
|
1483 | 5 : double64 (8 bytes) | |
|
1484 | 1484 | |
|
1485 | 1485 | Return: |
|
1486 | 1486 | 0 : Si no realizo un buen seteo |
General Comments 0
You need to be logged in to leave comments.
Login now