Giter Club home page Giter Club logo

Comments (4)

bryankim96 avatar bryankim96 commented on August 31, 2024

I will try to look into the current version of ctapipe and see if this has been corrected and if not, maybe we should post an issue there, as this isn't something we can directly control. The pixel positions are written here:

https://github.com/cta-observatory/image-extractor/blob/efe92aedc2ea422c4e3e1985061f7666c9f529e5/image-extractor/image_extractor.py#L275-L279

They're extracted straight from the event's instrument container without any modification (besides padding). We can manually try to correct it within image-extractor but this seems like it isn't the right way to handle it.

from dl1-data-handler.

TjarkMiener avatar TjarkMiener commented on August 31, 2024

I'm currently reading the pixel positions from the fits file from https://github.com/cta-observatory/ctapipe-extra, which are identical to the ones in the h5 files. The camera is filled row by row from bottom left to the top right:
astricam_oversamplingtest

Why it seems that the ASTRI camera should be filled from top left to bottom right by 8x8 sub-module sectors? I searched for a gamma shower that triggered ASTRI, CHEC and DigiCam at the same location. So I plotted the same event at the same location with different SST's and the shower orientation is the same. Due to the larger FoV of ASTRI, the shower of ASTRI is closer to the center of the camera than CHEC and DigiCam.

ssta_1_bicubic
sst1_1_bicubic
sstc_1_bicubic

from dl1-data-handler.

kosack avatar kosack commented on August 31, 2024

I think you are confusing the real (physical) Astri camera, and the simulated one. What comes out in these files is read from the Monte-Carlo simulations, which have in general different pixel ordering for all cameras. Since the ordering doesn't matter except for calibration, this should be fine for most studies.

If we load real data, of course we would need to load the true pixel positions , which would have the physical ordering and are hopefully stored in any raw data file in the proper order. I'm not sure if there is any control over the ordering in the Monte-Carlo, but perhaps it's possible in the configuration to have them come out similar to the real data? That would be part of the MC validation, I guess. Nevertheless, if you change the ordering, you would have to re-produce all monte-carlo files, so if it's critical, it could be considered for prod4+

from dl1-data-handler.

bryankim96 avatar bryankim96 commented on August 31, 2024

As far as I can tell this will not require any specific action for the foreseeable future, so I'll close it. We can reopen a similar issue when the question of using real data becomes more defined.

from dl1-data-handler.

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.