Giter Club home page Giter Club logo

Comments (6)

jeenriquez avatar jeenriquez commented on July 19, 2024

Hi Shami, thanks for the report, could I ask which version of blimpy are you using?

Danny Price (@telegraphic) since you implemented the 2-bit handling I'm assigning this to you :)

from blimpy.

telegraphic avatar telegraphic commented on July 19, 2024

Hey @shamichatterjee, does it work if you load the whole file? Can you point me toward a small 2-bit file with something interesting in it at a known location so I can work on it?

For 2-bit data you may be better off using sigpyproc (for now at least) - https://github.com/ewanbarr/sigpyproc

from blimpy.

shamichatterjee avatar shamichatterjee commented on July 19, 2024

@telegraphic sorry, I used a file from the Parkes HTRU archive and don't really have anything smaller, but Vishal G should be able to provide one. It sure looks like the 2-bit values are still packed and the combined value is interpreted as a (random) float when I try to access the array.

I installed the current version via downloading a zip file from GitHub - setup.py lists
version = '1.3.4'

I did try sigpyproc just now - it installed fine but trying to import led to a syntax error on a fairly innocuous line: raise ValueError,"readsamps must be > skipback value")
I'll try to look into that but I suspect that's maybe a mess.

from blimpy.

telegraphic avatar telegraphic commented on July 19, 2024

Labelling both a bug and an enhancement!

from blimpy.

telegraphic avatar telegraphic commented on July 19, 2024

This relates to #25, which I will close as a duplicate issue

from blimpy.

telegraphic avatar telegraphic commented on July 19, 2024

After some discussion, we think that a better approach is to create a 2-bit to 8-bit utility, and will only support uint8 and above.

A error should be raised if data are 2-bit, with direction in the docstring to the 2to8 utility.

from blimpy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.