Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • C cmsgemos-analysis
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 29
    • Issues 29
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 3
    • Merge requests 3
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • cmsgemonline
  • gem-daq
  • cmsgemos-analysis
  • Issues
  • #26

Closed
Open
Created Sep 28, 2020 by Louis Moureaux@lmoureauDeveloper

Data are unpacked as float

Summary

The DataFrame generated by the unpacker out of /afs/cern.ch/work/c/cgalloni/public/latency_scan/run000000_Testing_CERN904_2020-06-05_chunk_0.dat has the following float columns:

('RP:EXT TRG', 'AMC', 'HEADER', 2, None, None)
('RP:IS C', 'AMC', 'HEADER', 2, None, None)
('RP:CAL DAC', 'AMC', 'HEADER', 2, None, None)
('RP:PULSE STRETCH', 'AMC', 'HEADER', 2, None, None)
('RP:LATENCY', 'AMC', 'HEADER', 2, None, None)

They contain, among others, NaNs.

Steps to reproduce

from gdh import unpacker
import numpy as np

df = unpacker.run('/afs/cern.ch/work/c/cgalloni/public/latency_scan/run000000_Testing_CERN904_2020-06-05_chunk_0.dat','sdram')

for c in df.columns:
    if np.dtype(df[c]) == np.float64:
        print(c)

What is the expected correct behavior?

All columns are integers.

Environment

  • Version used: latest develop
  • Operation System: CentOS 7
Assignee
Assign to
Time tracking