Recent Releases of https://github.com/cta-observatory/pyeventio

https://github.com/cta-observatory/pyeventio - v1.16.1 – 2025-09-04

What's Changed since v1.16.0

  • fix: handle the reuse in correct way for split-always files (#296) @zhipzhang

Contributors

@maxnoe and @zhipzhang

- Python
Published by github-actions[bot] 10 months ago

https://github.com/cta-observatory/pyeventio - v1.16.0 – 2025-06-11

What's Changed since v1.15.0

  • Add support for split-always mode event handling in IACTFile (#295) @zhipzhang
  • Use weakref.finalize instead of implementing custom del (#293) @maxnoe
  • Fix wrong trigger bits due to simtel bug (#292) @maxnoe
  • Update examples (#286) @HealthyPear

Contributors

@HealthyPear, @maxnoe and @zhipzhang

- Python
Published by github-actions[bot] about 1 year ago

https://github.com/cta-observatory/pyeventio - v1.15.0 – 2025-03-06

What's Changed since v1.14.0

  • Expose observation-level particles in the event structure (#289) @vmharvey

Contributors

@maxnoe and @vmharvey

- Python
Published by github-actions[bot] over 1 year ago

https://github.com/cta-observatory/pyeventio - v1.14.0 – 2024-11-08

What's Changed since v1.13.0

This release drops python 3.9 and adds 3.13

  • Add python 3.13 job, update actions (#285) @maxnoe
  • Allow corsikaio 0.5 (#284) @maxnoe
  • Fix misleading error on opening empty file (#283) @maxnoe
  • Fix exception when closing non-eventio files (#282) @vmharvey

Contributors

@maxnoe and @vmharvey

- Python
Published by github-actions[bot] over 1 year ago

https://github.com/cta-observatory/pyeventio - v1.13.0 – 2024-07-16

What's Changed since v1.12.1

  • Add support for simtel types 2029 and 2030 (#276) @maxnoe
  • Remove setuptools_scm from main runtime deps, add extras (#277) @maxnoe
  • Fix download of artifacts (#279) @maxnoe
  • Fix download of artifacts in deploy step (#280) @maxnoe

Contributors

@maxnoe

- Python
Published by github-actions[bot] almost 2 years ago

https://github.com/cta-observatory/pyeventio - v1.12.1 – 2024-03-23

What's Changed since v1.12.0

  • Fix ResourceWarnings when using the zcat implementation (#274) @maxnoe

Contributors

@maxnoe

- Python
Published by github-actions[bot] over 2 years ago

https://github.com/cta-observatory/pyeventio - v1.12.0 – 2024-02-27

What's Changed since v1.11.6

  • Add diff and json feature to eventioprintsimtel_metaparams (#273) @maxnoe

Contributors

@maxnoe

- Python
Published by github-actions[bot] over 2 years ago

https://github.com/cta-observatory/pyeventio - v1.11.6 -- 2023-11-27

This release doesn't contain any changes to the code, just to requirements and build configuration.

What's Changed since v1.11.5

  • Allow corsikaio 0.4 (#272) @maxnoe
  • Add cibuildwheel config (#270) @maxnoe
  • Update setup.py / pyproject.toml to follow latest numpy and cython docs (#271) @maxnoe

Contributors

@maxnoe

- Python
Published by github-actions[bot] over 2 years ago

https://github.com/cta-observatory/pyeventio - v1.11.5 – 2023-11-15

What's Changed since v1.11.5

  • Add support for PixelTiming v2, fixes #268 (#269) @maxnoe

Contributors

@maxnoe, @orelgueta and @lheckmann

- Python
Published by github-actions[bot] over 2 years ago

https://github.com/cta-observatory/pyeventio - v1.11.4 – 2023-11-09

What's Changed since v1.11.3

  • Implement PixelList v1, ImageParameters v6, read LaserCalibration n_pixels as unsigned (#267) @maxnoe

Contributors

@maxnoe, @lheckmann

- Python
Published by github-actions[bot] over 2 years ago

https://github.com/cta-observatory/pyeventio - v1.11.3 – 2023-11-02

What's Changed since v1.11.2

  • Update build requirements in pyproject.toml (#263) @maxnoe

Contributors

@maxnoe

- Python
Published by github-actions[bot] over 2 years ago

https://github.com/cta-observatory/pyeventio - v1.11.2 – 2023-10-16

What's Changed since v1.11.1

  • Fix reading of central trigger object in case of new mono trigger (#262) @maxnoe
  • Avoid duplicated CI builds on pull requests (#259) @maxnoe

Contributors

@maxnoe @orelgueta

- Python
Published by release-drafter[bot] over 2 years ago

https://github.com/cta-observatory/pyeventio - v1.11.1 – 2023-06-22

What's Changed since v1.11.0

  • Update python and corsikaio versions (#258) @maxnoe
  • Documentation of eventio_print_simtel_metaparams (#257) @orelgueta

Contributors

@VictorBarbosaMartins, @maxnoe and @orelgueta

- Python
Published by github-actions[bot] about 3 years ago

https://github.com/cta-observatory/pyeventio - v1.11.0 – 2022-10-27

What's Changed since v1.10.0

  • Add support for telescope event header version 4 (#253) @maxnoe

Contributors

@maxnoe and @orelgueta

- Python
Published by release-drafter[bot] over 3 years ago

https://github.com/cta-observatory/pyeventio - v1.10.0 – 2022-09-08

What's Changed since v1.9.1

  • Implement reading of photoelectrons for calibration events, fixes #250 (#252) @maxnoe
  • Switch to src/ layout for package (#251) @maxnoe
  • Update pypi classifiers and require python 3.6 (#248) @maxnoe
  • Avoid annoying error message when using less (#249) @maxnoe

Contributors

@maxnoe and @orelgueta

- Python
Published by release-drafter[bot] almost 4 years ago

https://github.com/cta-observatory/pyeventio - v1.9.1 – 2022-06-10

What's Changed since v1.9.0

  • Fix breaking change in 1.9.0 of putting none instead of dict for missing information (#247) @maxnoe

Contributors

@maxnoe

- Python
Published by release-drafter[bot] about 4 years ago

https://github.com/cta-observatory/pyeventio - v1.9.0 – 2022-06-09

What's Changed since v1.8.0

  • Improve handling of calibration events (#246) @maxnoe

Contributors

@maxnoe and @orelgueta

- Python
Published by release-drafter[bot] about 4 years ago

https://github.com/cta-observatory/pyeventio - v1.8.0 – 2022-06-02

What's Changed since v1.7.0

  • Implement type 2033, PixelMonitoring, fixes #243 (#244) @maxnoe
  • Fix Header repr (#241) @maxnoe
  • Add support for CameraSettings v6 and test case (#245) @maxnoe
  • Remove hessioxxx source code from repository (#238) @maxnoe

Contributors

@maxnoe @orelgueta

- Python
Published by release-drafter[bot] about 4 years ago

https://github.com/cta-observatory/pyeventio - v1.7.0 – 22-03-25

What's Changed since v1.7.0

  • Add cli tool to print metaparams (#240) @maxnoe

Contributors

@maxnoe

- Python
Published by release-drafter[bot] over 4 years ago

https://github.com/cta-observatory/pyeventio - v1.6.1 – 2022-03-09

What's Changed since v1.6.0

  • Fix reading type 75, had wrong number of items (#237) @maxnoe

Contributors

@maxnoe

- Python
Published by release-drafter[bot] over 4 years ago

https://github.com/cta-observatory/pyeventio - v1.6.0 – 2022-03-07

What's Changed since v1.5.2

  • Add support for new object type 75 (Metadata) (#236) @maxnoe

Contributors

@maxnoe

- Python
Published by release-drafter[bot] over 4 years ago

https://github.com/cta-observatory/pyeventio - v1.5.2 – 2022-02-10

What's Changed since v1.5.1.post2

  • Use setuptools_scm for versioning, update CI versions (#234) @maxnoe
  • Fix parsing of ArrayOffsets (type 1203) (#233) @mblnk

Contributors

@maxnoe and @mblnk

- Python
Published by release-drafter[bot] over 4 years ago

https://github.com/cta-observatory/pyeventio - v1.5.1.post2 – 2022-01-13

What's Changed since v1.5.1.post1

  • Use pypa build to create sdist, fixes pypi deploy (#232) @maxnoe
  • Add zstandard to dependencies (#231) @maxnoe

Contributors

@maxnoe

- Python
Published by release-drafter[bot] over 4 years ago

https://github.com/cta-observatory/pyeventio - v1.5.1.post1

What's Changed since v1.5.1

  • Require "oldest-supported-numpy" in pyproject.toml, fixes #226 (#227) @maxnoe

Contributors

@maxnoe

- Python
Published by release-drafter[bot] over 5 years ago

https://github.com/cta-observatory/pyeventio - v1.5.1

v1.5.1

  • Fix dtype of true cherenkov photo-electron image (float32 -> int32)
  • Allow access to simtel history from SimTelFile

- Python
Published by maxnoe over 5 years ago

https://github.com/cta-observatory/pyeventio - v0.5.1

v0.5.1

  • Fix dtype of cherenkov photo electron image (float32 -> int32)
  • Allow access to simtel history from SimTelFile

- Python
Published by maxnoe over 5 years ago

https://github.com/cta-observatory/pyeventio - v1.4.2

v1.4.2

  • Fix reading of PixelDisabled objects when n_trigger_disabled != n_HV_disabled. PR: #219, issue #218

- Python
Published by maxnoe over 5 years ago

https://github.com/cta-observatory/pyeventio - v1.4.1

v1.4.1

  • Introduce EventIOFile.peek to look at the next eventio object in a file without advancing the iterator. Beware, that this might prevent from reading the previous object if the file is not back-seekable. To be safe, only call peek after reading/parsing the current object.
  • Fix that SimTelFile.iter_mc_events had the wrong TelescopeData. It always used the last available, which was either the one from the previous event or even older since events might not have TelescopeData at all

- Python
Published by maxnoe about 6 years ago

https://github.com/cta-observatory/pyeventio - v1.4.0

v1.4.0

  • Change to the PhotoElectrons[1208] object: store photoelectrons and amplitudes in 1d-arrays together with an array of pixel ids instead of lists of lists. This brings a considerable performance improvement, both for reading this data from simtel files and for dealing with the data.

See https://numpy.org/doc/stable/reference/generated/numpy.ufunc.at.html for how to do operations on these pairs of indices / values arrays, e.g. to compute the mean arrival time in each pixel, you could use:

```python def mean_at(n, array, indices): mean = np.zeros(len(n)) np.add.at(mean, indices, array)

# avoid divide by zero warning
mask = n > 0
mean[mask] /= n[mask]
mean[~mask] = np.nan
return mean

meantime = meanat(pe['photoelectrons'], pe['time'], pe['pixel_id']) ```

  • The photon_counts field of the PhotoElectrons[1208] object was renamed to photons

Thanks @watsonjj for implementing this in https://github.com/cta-observatory/pyeventio/pull/207

- Python
Published by maxnoe about 6 years ago

https://github.com/cta-observatory/pyeventio - v1.3.0

v1.3.0

  • Support sim_telarray files that include the full corsika photon information #206

- Python
Published by maxnoe about 6 years ago

https://github.com/cta-observatory/pyeventio - v1.2.0

v1.2.0

  • Add mean_time to PhotoElectrons output, this is the mean arrival times of the photons in each pixel
  • Add support for versions 0 and 1 of the MCPhotoelectronSum container

- Python
Published by maxnoe about 6 years ago

https://github.com/cta-observatory/pyeventio - v1.1.1

v1.1.1

  • Remove internal byte_stream object from the output of CameraMonitoring.parse
  • Add calibration type to event output of SimTelFile
  • Packaging and testing improvements

- Python
Published by maxnoe about 6 years ago

https://github.com/cta-observatory/pyeventio - v1.1.0

v1.1.0

  • Add support for the new version 3 of LaserCalibration objects (sim_telarray type 2023)

- Python
Published by maxnoe about 6 years ago

https://github.com/cta-observatory/pyeventio - v1.0.2

v1.0.2

  • Add cli tool to print the simtel config history: $ eventio_print_simtel_history file.simtel.gz

- Python
Published by maxnoe about 6 years ago

https://github.com/cta-observatory/pyeventio - v1.0.1

v1.0.1

  • Small performance improvements for reading simtel files

- Python
Published by maxnoe over 6 years ago

https://github.com/cta-observatory/pyeventio - v1.0.0

v1.0.0

  • Switching to classical semver, 1.x releases should always be compatible with ctapipe v0.7.0 , so pyeventio can be updated for new features (e.g. new eventio object versions or faster reading) but also still be used with ctapipe v0.7.0.

  • Removed some old internal functions and renamed functions to match their cython implementation.

- Python
Published by maxnoe over 6 years ago

https://github.com/cta-observatory/pyeventio - v0.21.4

v0.21.4

Add support for version 3 of

  • PixelSettings (2004)
  • TriggerInformatin (2009)
  • TelescopeEventHeader (2011)

- Python
Published by maxnoe almost 7 years ago

https://github.com/cta-observatory/pyeventio - v0.21.3

v0.21.3

  • Add support for the new eventio type 1216 for atmospheric profiles

- Python
Published by maxnoe almost 7 years ago

https://github.com/cta-observatory/pyeventio - v0.21.2

v0.21.2

  • Better error message for EventIOObject.parse if called on container object

Merged PRs

  • Merge pull request #184 from cta-observatory/improve_parse

- Python
Published by maxnoe about 7 years ago

https://github.com/cta-observatory/pyeventio - v0.21.1

v0.21.1

  • Provide eventio.__version__

- Python
Published by maxnoe about 7 years ago

https://github.com/cta-observatory/pyeventio - v0.21.0

v0.21.0

  • Several optimizations result in roughly 5 - 10% faster reading of simtel files
  • EventIOFile and EventIOObject act as true iterators now (do not reset int __iter__)
  • Removed the hotfix for the memory leak for zstd files, as this was fixed upstream in version 0.11.1

Merged PRs:

  • Merge pull request #177 from cta-observatory/update_readme
  • Merge pull request #174 from cta-observatory/fix_iterators
  • Merge pull request #176 from cta-observatory/removezstdhotfix
  • Merge pull request #175 from cta-observatory/gitignore
  • Merge pull request #172 from cta-observatory/reorder_ifs
  • Merge pull request #171 from cta-observatory/noinitparsing

- Python
Published by maxnoe about 7 years ago

https://github.com/cta-observatory/pyeventio - v0.20.3

v0.20.3

  • Better string representation of three iact objects
  • fix seeking 0 bytes for zstd files

- Python
Published by maxnoe about 7 years ago

https://github.com/cta-observatory/pyeventio - v0.20.2

v0.20.2

Monkey patch for zstandard memory leak, see #168

- Python
Published by maxnoe about 7 years ago

https://github.com/cta-observatory/pyeventio - v0.20.1

v0.20.1

Add tell method to PipeWrapper to make it a valid file object

- Python
Published by maxnoe about 7 years ago

https://github.com/cta-observatory/pyeventio - v0.20.0

v0.20.0

  • Use gzip subprocess instead of gzip module by default, speeds up reading gz files by ~20%
  • Remove unnecessary logging call in reading function, ~ 5% speed up
  • Use explicit types from stdint.h for cython code to improve readability

- Python
Published by maxnoe about 7 years ago

https://github.com/cta-observatory/pyeventio - v0.19.0

v0.19.0

  • Do not read timestamp of History*, in __init__. These objects do no longer have a timestamp member, but their parse methods return a tuple of timestamp, content.

  • Refactor iact.ArrayOffsets to use the version header field instead of guessing the number of columns.

  • Improve printing of objects (__repr__ shows Low-Level eventio info, __str__ shows higher level object info, improved printing utils)

- Python
Published by maxnoe over 7 years ago

https://github.com/cta-observatory/pyeventio - v0.18.0

v0.18.0

  • Make sure all telescope descriptions are read in __init__ of SimTelFile
  • Several low-level code improvements, e.g. raising earlier if a big-endian file is encountered

- Python
Published by maxnoe over 7 years ago

https://github.com/cta-observatory/pyeventio - v0.17.1

v0.17.1

  • Fix missing laser calibrations and camera monitorings in SimtelTelFile for calibration events

- Python
Published by maxnoe over 7 years ago

https://github.com/cta-observatory/pyeventio - v0.17.0

v0.17.0

  • Implement zero suppression reading
  • Implement calibration event reading in SimTelFile
  • Implement reading of emitter particles created by the IACT extension with -DSTORE_EMITTER
  • Implement reading of pixel trigger times
  • Use more consistent variable names

- Python
Published by maxnoe over 7 years ago

https://github.com/cta-observatory/pyeventio - v0.16.2

v0.16.2

Fixes

  • simtel.PixelList had the wrong telescope_id / code, now fixed
  • simtel.ImageParameters now has telescopeid set in `init_`
  • Added missing object imports in simtel.__init__, so all simtel objects should now be importable from eventio.simtel

- Python
Published by maxnoe over 7 years ago

https://github.com/cta-observatory/pyeventio - v0.16.1

v0.16.1

Bugfix for reading certain simtel files.

- Python
Published by maxnoe over 7 years ago

https://github.com/cta-observatory/pyeventio - v0.16.0

pyeventio can now:

  • read multiple runs in one file. #132
  • Objects of type CameraOrganization version 2 are now supported. #135
  • read files with a "strange" structure, since it makes less assumptions about the order of the objects within a file. #137

- Python
Published by dneise over 7 years ago

https://github.com/cta-observatory/pyeventio - v0.14.0

v0.14.0

pyeventio now uses pycorsikaio to parse corsika data structures. This removes redundant code and fixes the reading of n_showers from run headers.

- Python
Published by maxnoe over 7 years ago

https://github.com/cta-observatory/pyeventio - v0.12.0

Exclude tests and resources from pypi release

- Python
Published by maxnoe over 7 years ago

https://github.com/cta-observatory/pyeventio - v0.11.0

Perfomance improvements

  • Reduced python overhead in read, tell and seek methods of EventIOObject.
  • Use cython to read MCEvent data returning a dict instead of a structured array now.

- Python
Published by maxnoe over 7 years ago

https://github.com/cta-observatory/pyeventio - v0.10.0

Fixes, improvements and updated examples

  • Fix broken repr of PixelSet
  • Fix some lying docs
  • Update examples to use SimTelFile
  • Show class name in `eventioprintobject_information
  • Aggregate TelescopeEvents and TrackingInformation

- Python
Published by maxnoe over 7 years ago

https://github.com/cta-observatory/pyeventio - v0.9.3

Add missing c file in eventio.simtel to package_data so it gets into the PyPI tar ball

- Python
Published by maxnoe over 7 years ago

https://github.com/cta-observatory/pyeventio - v0.9.2

Include the converted cython extension c-files to make it installable without cython

- Python
Published by maxnoe over 7 years ago

https://github.com/cta-observatory/pyeventio - v0.9.1

Fix a performance regression

Parsing MCEvent was much slower due to the use of recarray.append_field, fixed now.

- Python
Published by maxnoe over 7 years ago

https://github.com/cta-observatory/pyeventio - v0.9.0

SimTelFile

We now provide a higher level abstractions over SimTelArray Outputfiles called SimTelFile hat iterates over array events.

- Python
Published by maxnoe over 7 years ago

https://github.com/cta-observatory/pyeventio - v0.8.0

Add command line tools

We now provide three command line tools, to look into eventio files.

  • eventio_print_object_information prints a table of container types, versions and counts.
  • eventio_print_structure prints all containers and subcontainer decriptions in a file
  • eventio_plot_histograms uses matlplotlib to plot the histograms stored in an eventio file

- Python
Published by maxnoe over 7 years ago

https://github.com/cta-observatory/pyeventio - v0.7.0

Add Histogram support

To see all histograms in a file, run

$ python examples/plot_hists.py /path/to/simtel/file

- Python
Published by maxnoe over 7 years ago

https://github.com/cta-observatory/pyeventio - v0.6.0

SimTel support

  • Most simtel types got implemented
  • Should be able to read CTA prod2, prod3b and prod4 simulations, both simtel and corsika

- Python
Published by maxnoe over 7 years ago

https://github.com/cta-observatory/pyeventio - v0.5.0

Support for zstandard compression and some corsika fixes

  • Longitudinal block parsed correctly
  • zstandard compression using optional dependency zstandard

- Python
Published by maxnoe over 7 years ago

https://github.com/cta-observatory/pyeventio - Rewrote EventIOFile to be an iterable of objects

  • Don't parse the whole file on initialization
  • Generate top-level objects one after the other
  • only seeks forward

- Python
Published by maxnoe over 7 years ago