Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

shower core and maximum read by 'shower' #106

Open
kewenz opened this issue Nov 26, 2024 · 5 comments
Open

shower core and maximum read by 'shower' #106

kewenz opened this issue Nov 26, 2024 · 5 comments

Comments

@kewenz
Copy link

kewenz commented Nov 26, 2024

I tried to read DC2 sims parameters using shower.load_root(tshower_l0)
and I have shower maximum and shower core shown in different coordinate system

shower.maximum
LTP([[ -79844. ],
[-132358.921875 ],
[ 15603.63964844]])
shower.core
GRANDCS([[1474.59594727],
[ 530.52697754],
[ 0. ]])

the value of these two parameters given by tshower_l0 are the same, but tshower_l0 using the same coordinate system for xmaximum position and shower core.

tshower_l0.xmax_pos_shc
array([ -79844. , -132358.92, 15603.64], dtype=float32)
tshower_l0.shower_core_pos
array([1474.596, 530.527, 0. ], dtype=float32)

@lwpiotr
Copy link
Contributor

lwpiotr commented Nov 26, 2024

Why do you want to use this shower class for this?

@kewenz
Copy link
Author

kewenz commented Nov 26, 2024

Why do you want to use this shower class for this?

because I want to use shower parameters and isn't shower class written for this function?

@lwpiotr
Copy link
Contributor

lwpiotr commented Nov 26, 2024

It was, but it is not supported anymore really. Similar things, though supported, are in "grandlib_classes" - the Analysis Oriented Interface. Can you try to use that?

@kewenz
Copy link
Author

kewenz commented Nov 26, 2024

It was, but it is not supported anymore really. Similar things, though supported, are in "grandlib_classes" - the Analysis Oriented Interface. Can you try to use that?

ok, could you please guide me where I can find this? sorry I don't follow the latest update on software

@lwpiotr
Copy link
Contributor

lwpiotr commented Nov 26, 2024

If you use dev_io_root branch, you could look at examples in:
grand/examples/grandlib_classes
for example browse_gp13_events_example.py. It is very simple, just goes through events, draws traces and positions of antennas.

The documentation of AOI, although outdated, can be found on:
http://grand.fuw.edu.pl/analysis_oriented_api/
Message me for the login and password

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants