Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
58b40b1
add abstract metod to envent reading
kashish2210 May 17, 2025
847039b
add lightcurve function
kashish2210 May 17, 2025
8e5001b
add some more test for events.jl as per codcov coverage
kashish2210 May 17, 2025
f50f3df
major update in event.jl
kashish2210 May 21, 2025
686bb6b
upadtemin error methor for light curve
kashish2210 May 22, 2025
c48a6d0
update
kashish2210 Jun 1, 2025
3c9f7a3
constructor update for sorting events validation
kashish2210 Jun 2, 2025
583f352
fix try and catch block and add docstring
kashish2210 Jun 2, 2025
1da0960
adding updated event.jl and test cases refering #50
kashish2210 Jun 7, 2025
34ae9e8
add lightcurve
kashish2210 Jun 7, 2025
510febc
Revert "add lightcurve"
kashish2210 Jun 7, 2025
7c57639
Update test/test_events.jl
kashish2210 Jun 7, 2025
ae297ba
Update test/test_events.jl
kashish2210 Jun 7, 2025
68585b8
Update test/test_events.jl
kashish2210 Jun 7, 2025
24bfa63
Update test/test_events.jl
kashish2210 Jun 7, 2025
2f17a7c
Update test/test_events.jl
kashish2210 Jun 7, 2025
0c0b4fd
Update src/events.jl
kashish2210 Jun 7, 2025
f2a8653
Update src/events.jl
kashish2210 Jun 7, 2025
d209748
Update src/events.jl
kashish2210 Jun 7, 2025
c869a2d
Update src/events.jl
kashish2210 Jun 7, 2025
f68ea52
Update test/test_events.jl
kashish2210 Jun 7, 2025
3d7927d
Update test/test_events.jl
kashish2210 Jun 7, 2025
deb8f5b
Update test/test_events.jl
kashish2210 Jun 7, 2025
8bcc5ae
Update test/test_events.jl
kashish2210 Jun 7, 2025
ae6582d
Update test/test_events.jl
kashish2210 Jun 7, 2025
fee9048
Update test/test_events.jl
kashish2210 Jun 7, 2025
5f77b5b
Update test/test_events.jl
kashish2210 Jun 7, 2025
932cc58
Update test/test_events.jl
kashish2210 Jun 7, 2025
b0b8ec6
Update test/test_events.jl
kashish2210 Jun 7, 2025
20b4101
update docsting
kashish2210 Jun 7, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,16 @@ authors = ["Aman Pandey"]
version = "0.1.0"

[deps]
CFITSIO = "3b1b4be9-1499-4b22-8d78-7db3344d1961"
DataFrames = "a93c6f00-e57d-5684-b7b6-d8193f3e46c0"
Distributions = "31c24e10-a181-5473-b8eb-7969acd0382f"
DocStringExtensions = "ffbed154-4ef7-542d-bbb7-c09d3a79fcae"
FFTW = "7a1cc6ca-52ef-59f5-83cd-3a7055c09341"
FITSIO = "525bcba6-941b-5504-bd06-fd0dc1a4d2eb"
HDF5 = "f67ccb44-e63f-5c2f-98bd-6dc0ccc4ba2f"
Intervals = "d8418881-c3e1-53bb-8760-2df7ec849ed5"
JuliaFormatter = "98e50ef6-434e-11e9-1051-2b60c6c9e899"
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
Logging = "56ddb016-857b-54e1-b83d-db4d58db5568"
NaNMath = "77ba4419-2d1f-58cd-9bb1-8ffee604a2e3"
ProgressBars = "49802e3a-d2f1-5c88-81d8-b72133a6f568"
Expand All @@ -19,13 +22,16 @@ Statistics = "10745b16-79ce-11e8-11f9-7d13ad32a3b2"
StatsBase = "2913bbd2-ae8a-5f71-8c99-4fb6c76f3a91"

[compat]
CFITSIO = "1.7.1"
DataFrames = "1.3"
Distributions = "0.25"
DocStringExtensions = "0.9.5"
FFTW = "1.4"
FITSIO = "0.16"
HDF5 = "0.16"
Intervals = "1.8"
JuliaFormatter = "1.0.62"
LinearAlgebra = "1.11.0"
Logging = "1.11.0"
NaNMath = "0.3, 1"
ProgressBars = "1.4"
Expand Down
18 changes: 17 additions & 1 deletion src/Stingray.jl
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ module Stingray
using ResumableFunctions, StatsBase, Statistics, DataFrames
using FFTW, NaNMath, FITSIO, Intervals
using ProgressBars: tqdm as show_progress
using DocStringExtensions
using LinearAlgebra

include("fourier.jl")
export positive_fft_bins
Expand Down Expand Up @@ -33,6 +35,20 @@ export bin_intervals_from_gtis
include("utils.jl")

include("events.jl")
export readevents, EventList, DictMetadata
export FITSMetadata,
EventList,
times,
energies,
has_energies,
filter_time!,
filter_energy!,
filter_time,
filter_energy,
colnames,
read_energy_column,
readevents,
summary,
filter_on!


end
Loading