Commit 904cbeba authored by Stefano Covino's avatar Stefano Covino
Browse files

130226 commit

parent 8cc645d8
Loading
Loading
Loading
Loading
+1 −6
Original line number Diff line number Diff line
%% Cell type:markdown id:c877ac0d tags:

**What is this?**


*This jupyter notebook is part of a collection of notebooks on various topics discussed during the Time Domain Astrophysics course delivered by Stefano Covino at the [Università dell'Insubria](https://www.uninsubria.eu/) in Como (Italy). Please direct questions and suggestions to [stefano.covino@inaf.it](mailto:stefano.covino@inaf.it).*

%% Cell type:markdown id:137ecf55 tags:

**This is a textual notebook**

%% Cell type:markdown id:69948809 tags:

![Time Domain Astrophysics](Lectures/Pics/TimeDomainBanner.jpg)

%% Cell type:markdown id:b48426c6 tags:

# Time-Domain Astrophysics
***

%% Cell type:markdown id:24b8f8f0 tags:

## Academic Year 2025-2026
***

%% Cell type:markdown id:31e3a173 tags:

### Lecture list:
***

1. [Lecture: Introduction](Lectures/Lecture%20-%20Introduction/Lecture-Introduction.ipynb)
2. [Lecture: Statistics Reminder](Lectures/Lecture%20-%20Statistics%20Reminder/Lecture-StatisticsReminder.ipynb)
3. [Lecture: Spectral Analysis](Lectures/Lecture%20-%20Spectral%20Analysis/Lecture-SpectralAnalysis.ipynb)
4. [Science case: Sunspot number](Lectures/Science%20Case%20-%20Sunspot%20Number/Lecture-SunspotNumber.ipynb)
5. [Science case: X-ray binaries](Lectures/Science%20Case%20-%20X-Ray%20Binaries/Lecture-X-RayBinaries.ipynb)
6. [Lecture: Irregular sampling](Lectures/Lecture%20-%20Lomb-Scargle/Lecture-Lomb-Scargle.ipynb)
7. [Science case: Variable stars](Lectures/Science%20Case%20-%20Variable%20Stars/Lecture-VariableStars.ipynb)
8. [Lecture: Time Domain analysis](Lectures/Lecture%20-%20Time%20Domain%20Analysis/Lecture-Time-Domain.ipynb)
9. [Science case: AGN and Blazars](Lectures/Science%20Case%20-%20AGN%20and%20Blazars/Lecture-AGN-and-Blazars.ipynb)
10. [Lecture: Wavelet Analysis](Lectures/Lecture%20-%20Wavelet%20Analysis/Lecture-Wavelet-Analysis.ipynb)
11. [Lecture: Time of Arrival](Lectures/Lecture%20-%20Time%20of%20Arrival/Lecture-Time-of-Arrival.ipynb)
12. [Science case: FRBs](Lectures/Science%20Case%20-%20FRBs/Lecture-FRBs.ipynb)
13. [Lecture: Non Parametric Analysis](Lectures/Lecture%20-%20Non%20Parametric%20Analysis/Lecture-NonParametricAnalysis.ipynb)
14. [Lecture: Singular Spectrum Analysis](Lectures/Lecture%20-%20Singular%20Spectrum%20Analysis/Lecture-SSA.ipynb)
15. [Lecture: Gaussian Processes](Lectures/Lecture%20-%20Gaussian%20Processes/Lecture-GaussianProcesses.ipynb)
16. [Science case: GRBs](Lectures/Science%20Case%20-%20GRBs/Lecture-GRBs.ipynb)
17. [Lecture: Astrostatistics Future](Lectures/Lecture%20-%20Astrostatistics%20Future/Lecture-AstrostatisticsFuture.ipynb)

%% Cell type:markdown id:98edde94 tags:

**Copyright**

This notebook is provided as [Open Educational Resource](https://en.wikipedia.org/wiki/Open_educational_resources). Feel free to use the notebook for your own purposes. The text is licensed under [Creative Commons Attribution 4.0](https://creativecommons.org/licenses/by/4.0/), the code of the examples, unless obtained from other properly quoted sources, under the [MIT license](https://opensource.org/licenses/MIT). Please attribute the work as follows: *Stefano Covino, Time Domain Astrophysics - Lecture notes featuring computational examples, 2025*.

%% Cell type:code id:422545a3-7145-4937-99f9-4878bd99f18a tags:

``` julia
```
This notebook is provided as [Open Educational Resource](https://en.wikipedia.org/wiki/Open_educational_resources). Feel free to use the notebook for your own purposes. The text is licensed under [Creative Commons Attribution 4.0](https://creativecommons.org/licenses/by/4.0/), the code of the examples, unless obtained from other properly quoted sources, under the [MIT license](https://opensource.org/licenses/MIT). Please attribute the work as follows: *Stefano Covino, Time Domain Astrophysics - Lecture notes featuring computational examples, 2026*.
+11 −11
Original line number Diff line number Diff line
%% Cell type:markdown id:91330533 tags:

**What is this?**


*This jupyter notebook is part of a collection of notebooks on various topics discussed during the Time Domain Astrophysics course delivered by Stefano Covino at the [Università dell'Insubria](https://www.uninsubria.eu/) in Como (Italy). Please direct questions and suggestions to [stefano.covino@inaf.it](mailto:stefano.covino@inaf.it).*

%% Cell type:markdown id:915ee876 tags:

**This is a textual notebook**

%% Cell type:markdown id:53194e25 tags:

![Time Domain Astrophysics](Pics/TimeDomainBanner.jpg)

%% Cell type:markdown id:a7b36f9a tags:

# Introduction
***

%% Cell type:markdown id:b336520e tags:

## Contacts
***

![Stefano](Pics/Stefano.png)

- Stefano Covino
- INAF / Brera Astronomical Observatory
- +39 02 72320475
- +39 3316748534 (if urgent…)
- Emails: [stefano.covino@inaf.it](mailto:stefano.covino@inaf.it)  - [stefano.covino@uninsubria.it](mailto:stefano.covino@uninsubria.it)
- Web: https://sites.google.com/a/inaf.it/stefano-s-site/

![Banner](Pics/Banner.png)

%% Cell type:markdown id:9556e54d tags:

## Main Goal of the course: Have fun!
***

|![data](Pics/data.jpg)|![regression](Pics/regression.jpg)|
|----------------------|----------------------------------|

#### - This is serious. Specialized academic courses, in a manner of speaking, should be enjoed...!

%% Cell type:markdown id:2d351400 tags:

## Time-Series are ubiquitous
***

- Anytime we have a measurement repeated multiple times we have a time-series.

![CO_2 vs Temp](Pics/CO2T.png)

![CO_2](Pics/CO2.png)

![Neptune](Pics/Neptune.png)

- As a matter of fact, a time-series does not need to have "time" as index!

![PAMELA](Pics/PAMELA.png)

![Satellite](Pics/satellite.png)

%% Cell type:markdown id:722fb437 tags:

## Temptative schedule (don’t trust it too much…)
***

1. 25/2 - Introduction
2. 26/2 - Statistics reminder - part I
3. 4/3 - Statistics reminder - part II
4. 5/3 - Spectral analysis - part I
5. 11/3 - Spectral analysis - part II
6. 12/3 - Science cases: Sunspots Number - X-ray Binaries
7. 18/3 - Irregularly sampled time series
8. 19/3 - Science Cases - Variable Stars
9. 25/3 - Time domain analysis - part I
10. 26/3 - Time domain analysis - part II
11. 1/4 - Science Cases - AGN and blazars
12. 9/4 - Wavelet analysis
13. 15/4 - Time of arrival analysis
14. 16/4 - Science case: FRBs
15. 22/4 - Non-parametric methods - part I
16. 23/5 - Non-parametric methods - part II
17. 29/5 - Singular spectrum analysis - part I
18. 30/4 - Singular spectrum analysis - part II
19. 6/5 - Gaussian processes - part I
20. 7/5 - Gaussian processes - part II
21. 13/5 - Science case: GRBs
22. 14/5 - Astrostatistics final considerations
12. 15/4 - Wavelet analysis
13. 16/4 - Time of arrival analysis
14. 23/4 - Science case: FRBs
15. 29/4 - Non-parametric methods - part I
16. 30/4 - Non-parametric methods - part II
17. 6/5 - Singular spectrum analysis - part I
18. 7/5 - Singular spectrum analysis - part II
19. 13/5 - Gaussian processes - part I
20. 14/5 - Gaussian processes - part II
21. 20/5 - Science case: GRBs
22. 21/5 - Astrostatistics: final considerations

%% Cell type:markdown id:f73fd0ea tags:

## How is the course managed?
***

### Frontal lectures

- These are the traditional university lectures.

- Although this increases the organizational complexity substantially, I am availbale to stream and record my lectures, if needed.

- There are contraindications. As a matter of fact, this is one of few cases where a remote access is not even close as effective as being in presence.

![Frontal Lectures](Pics/FrontalLectures.jpg)

### Real research life examples…

- Scientists working in the field will deliver "didactic lectures", allowing one to see most of ideas deveooped during the course applied in a real research environment.

![Paperino astronomo](Pics/Paperino.jpg)

### (Optional) papers to deepen our knowledge…

- Most of the topics discussd during the course can be investigated thoroughly and papers from astrophysical (mainly) literature are presented for particularly concerned readers.

![Author et al.](Pics/Papersetal.jpg)

### Question time

- The course is divided in several main sections. At the end of each of them, some time will be devoted to open discussions and questions.

![Questions](Pics/Questions.gif)

### Lectures from specialists in the field

- Together with regular lectures, a few specialists in the field, i.e. scientist carrying out researches by time-domain tools and techniques, are invited to describe their works.

![Nilus](Pics/Nilus.jpg)

### Language

- According to university guidelines, lectures will be delivered in English. Of course, a fair evaluation of the context might ask some flexibility.

![Language](Pics/language.jpg)

### Statistical framework

- During this course we are going to work in a Bayesian framework.

- Bayesian statistics is an approach to inferential statistics based on Bayes' theorem, where available knowledge about parameters in a statistical model is updated with the information in observed data. The background knowledge is expressed as a prior distribution and combined with observational data in the form of a likelihood function to determine the posterior distribution. The posterior can also be used for making predictions about future events.

- Nevertheless, we are not dogmatic and mentions or applications based on familiar "frequentist" approaches are preseneted and discussed, when we deem it opportune.

![Statistics](Pics/Bayesians.png)

### Programming languages

- Most of the examples we are going to analyze during the course are based on some sort of computer analysis.

- `Python` is *de-facto* the standard language in data science.
    - Yet, while this language is definitely truly amazing, well designed and worth mastering, for the specific needs of scientific computing there are alternatives of growing popularity.

- We threfore provide examples mainly with `Julia`, and encourage the students to get some confidence with this programming language too.

- Notebooks are written by the [markdown language](https://www.markdownguide.org/basic-syntax/), a simple language integrating features of the HTML and latex languages.


|![python](Pics/python.png)|![julia](Pics/julia.png)|
|--------------------------|------------------------|

%% Cell type:markdown id:0a132f61-6a28-4c74-a63d-b1442f23269c tags:

- A remarkable introducti0n to the `julia` language for a scientist is available online [here](https://juliadatascience.io/).

%% Cell type:markdown id:9bf3b78e tags:

## Warning! The course is not only for astrophysicists!

- It is indeed part of the set of courses for future astrophysicists. Nevertheles, almost nothing we are going to discuss is truly only for astrophysics. In reality, several applications and ideas are taken from other fields, i.e. economics, social sciences, climatology, etc.

![Physicists and astrophysicists](Pics/astrophysics.jpg)

%% Cell type:markdown id:dedc01e8 tags:

## Final assessment

- The final examination is an oral one.

- *Students* must interact with the teacher in advance of the examination and a science case obtained by the modern literature will be selected.

- The *student* will be asked to properly describe the main formal aspects of the study and discuss critically the reliability and limits of the presented results.


%% Cell type:markdown id:6e9e2d08 tags:

## Gitlab repository

- Slides, notebooks, papers, etc. are available on [gitlab](https://www.ict.inaf.it/gitlab/stefano.covino/TimeDomainAstrophysics.git)
- Check the repository frequently since is (rather often) updated  during the course.


|![gitlab](Pics/gitlab.jpg)|![course](Pics/gitlabcourse.png)|
|-------------------------|-------------------------------|


### How to use the repository:

- Just surf the site with your prefereed web browser.
    - It is probably enoughm although you have no real interactions (you just read...).
    - There are also *git* graphical clients, for essentially any OS, that can make the surfing esasier.

<br>

- There is also a "nerdier" solution!
- Open a terminal and move to a directory where material will be stored.
```
cd mydir
git clone https://www.ict.inaf.it/gitlab/stefano.covino/TimeDomainAstrophysics.git
cd TimeDomainAstrophysics
git pull
```

- This clones the whole tree (i.e. the course material, about 3GB).

> Repeating frequently the last command (`git pull`) you will always have the tree fully updated and you notebooks, data, papers, etc. ready to be used on your computer.

%% Cell type:markdown id:e96ac78c tags:

## Relaxing time(-series...)

![Relax](Pics/relaxing.png)

%% Cell type:markdown id:ffe137ba tags:

## Reference & Material

- The course is based on published scientific papers distributed by the teacher before any main topic is addressed.

- Science cases are based on actual scientific papers as well.

- Slides prepared by the teacher will also be distributed.

    - A general introductory text to time series analysis as: [“Introduction to Time Series and Forecasting”, by P.J. Brockwell and R.A Davis](https://link.springer.com/book/10.1007/978-3-319-29854-2) might be useful. However, any other analogous text easily obtainable by the student will be fine as well.

- Two textbooks more strictly related to the topics discussed during the course mainly, but not only, for astrophysical applications are:
    - [“Modern Statistical Methods for Astronomy”, by E.D. Feigelson and G.J. Babu](https://www.cambridge.org/core/books/modern-statistical-methods-for-astronomy/941AE392A553D68DD7B02491BB66DDEC)
    - [“Statistics, data Mining and Machine Learning in Astronomy”, by Ivezić et al.](https://press.princeton.edu/books/hardcover/9780691198309/statistics-data-mining-and-machine-learning-in-astronomy)

%% Cell type:markdown id:dff2c952 tags:

## Further Material

Papers for examining more closely some of the discussed topics.

- [Voughan et al. (2013) - "Random Time Series in Astronomy"](https://royalsocietypublishing.org/doi/10.1098/rsta.2011.0549)
- [Storopoli et al. (2021) - "Julia Data Science"](https://juliadatascience.io/)

%% Cell type:markdown id:05e93b1d tags:

## Course Flow

<table>
  <tr>
    <td>Previous lecture</td>
    <td>Next lecture</td>
  </tr>
  <tr>
    <td><a href="../../Course.ipynb">Course Summary</a></td>
    <td><a href="../Lecture%20-%20Statistics%20Reminder/Lecture-StatisticsReminder.ipynb">Statistics Reminder</a></td>
  </tr>
 </table>


%% Cell type:markdown id:591bd355 tags:

**Copyright**

This notebook is provided as [Open Educational Resource](https://en.wikipedia.org/wiki/Open_educational_resources). Feel free to use the notebook for your own purposes. The text is licensed under [Creative Commons Attribution 4.0](https://creativecommons.org/licenses/by/4.0/), the code of the examples, unless obtained from other properly quoted sources, under the [MIT license](https://opensource.org/licenses/MIT). Please attribute the work as follows: *Stefano Covino, Time Domain Astrophysics - Lecture notes featuring computational examples, 2026*.
+1 −1
Original line number Diff line number Diff line
@@ -2,4 +2,4 @@

This is a repository with material (notebooks, papers, etc.) for the **Time Domain Astrophysics** course delivered at the *Università dell'Insubria* by Stefano Covino. 

*Last update: 05 Feb 2026.*
*Last update: 10 Feb 2026.*