Opened 5 years ago

Closed 5 years ago

#38 closed task (fixed)

change mantid to get data from earthworm

Reported by: durong Owned by: somebody
Priority: major Milestone:
Component: component1 Version:
Keywords: Cc:
Blocked By: Blocking:
Parent ID: Parent Tickets:
Estimated Number of Hours: 0.0 Add Hours to Ticket: 0
Billable?: yes Total Hours: 0

Description

  1. change to earthworm framework, only for detector
    try:
        from cStringIO import StringIO as memfile  ## for Python 2
    except ImportError:
        from io import BytesIO as memfile     ## for Python 3
    import numpy as np
    
    _json=neonRedis_read.get(path)
    data=np.load(memfile(_json))
    
    
  1. load data inro workspace:

use CreateWorkspace? algorithm

  1. the time of one module is 0.4s alone, 5~10s when all modules run.

refreshtime is set to be 10

Subtickets

Child Tickets

Change History (1)

comment:1 Changed 5 years ago by durong

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.