File size: 7,693 Bytes
55aec95
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
aaf1f47
 
 
 
 
55aec95
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
aaf1f47
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
55aec95
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
---
license: cc-by-4.0
pretty_name: "X-ray Binary Catalog"
language:
  - en
description: "Merged catalog of high-mass and low-mass X-ray binaries from HEASARC (Liu et al. 2006/2007)"
task_categories:
  - tabular-classification
tags:
  - space
  - x-ray-binary
  - hmxb
  - lmxb
  - x-ray
  - astronomy
  - compact-object
  - neutron-star
  - black-hole
  - open-data
  - tabular-data
  - parquet
size_categories:
  - n<1K
configs:
  - config_name: default
    data_files:
      - split: train
        path: data/xray-binaries.parquet
    default: true
---

# X-ray Binary Catalog

<div align="center">
  <img src="banner.jpg" alt="A youthful globular star cluster observed by the Hubble Space Telescope" width="400">
  <p><em>Credit: NASA/ESA/Hubble</em></p>
</div>

*Part of the [Astronomy Datasets](https://huggingface.co/collections/juliensimon/astronomy-datasets-69c24caf2f17e36128946743) and [Stellar Catalogs](https://huggingface.co/collections/juliensimon/stellar-catalogs-69c24caf2f17e36128946744) collections on Hugging Face.*

![Update X-ray Binaries](https://github.com/juliensimon/space-datasets/actions/workflows/update-xray-binaries.yml/badge.svg)
![Updated](https://img.shields.io/badge/dynamic/json?url=https://raw.githubusercontent.com/juliensimon/space-datasets/main/status.json&query=$.xray-binaries&label=updated&color=brightgreen)

Merged catalog of **305** X-ray binaries (116 high-mass, 189 low-mass) from NASA HEASARC,
combining the HMXB catalog (Liu, van Paradijs & van den Heuvel 2006) and the LMXB catalog (Liu, van Paradijs & van den Heuvel 2007).

## Dataset description

X-ray binaries are stellar systems in which a compact object (neutron star or black hole) accretes matter from a
companion star, producing intense X-ray emission. They are divided into two classes based on the mass of the donor star:

- **High-Mass X-ray Binaries (HMXBs)**: The donor is a massive O or B star (typically >10 solar masses). Accretion
  occurs via stellar wind or Roche lobe overflow. HMXBs are found in star-forming regions and include Be/X-ray
  binaries (the largest subclass) and supergiant X-ray binaries.

- **Low-Mass X-ray Binaries (LMXBs)**: The donor is a low-mass star (typically <1 solar mass). Accretion proceeds
  through Roche lobe overflow, forming a bright accretion disk. LMXBs are concentrated toward the Galactic center
  and globular clusters. They include the Z and Atoll sources (classified by their X-ray color-color diagrams) and
  the soft X-ray transients.

X-ray binaries are natural laboratories for studying accretion physics, strong gravity, and the equation of state of
ultra-dense matter. Their X-ray variability (pulsations, quasi-periodic oscillations, thermonuclear bursts) encodes
information about the compact object's mass, spin, and magnetic field. Several black hole mass measurements come from
dynamical studies of X-ray binary orbits.

This dataset merges the two standard reference catalogs maintained at HEASARC, providing a unified view of the known
Galactic X-ray binary population with positions, X-ray fluxes, orbital periods, and companion star classifications.

## Schema

| Column | Type | Description |
|--------|------|-------------|
| `__row` | string |  |
| `name` | string | Source designation / common name |
| `xray_type` | string |  |
| `ra` | float | Right ascension (J2000, degrees) |
| `dec` | float | Declination (J2000, degrees) |
| `lii` | string | Galactic longitude (degrees) |
| `bii` | string | Galactic latitude (degrees) |
| `position_type` | string |  |
| `optical_name` | string |  |
| `ref_optical` | string |  |
| `vmag_limit` | string |  |
| `vmag` | string | Visual magnitude of the optical counterpart |
| `vmag_min` | string |  |
| `vmag_flag` | string |  |
| `bv_color` | string |  |
| `bv_color_flag` | string |  |
| `bv_color_max` | string |  |
| `ub_color` | string |  |
| `reddening` | string |  |
| `reddening_max` | string |  |
| `reddening_flag` | string |  |
| `ref_photometry` | string |  |
| `jmag` | string |  |
| `hmag_limit` | string |  |
| `hmag` | string |  |
| `kmag_limit` | string |  |
| `kmag` | string |  |
| `fx_limit` | string |  |
| `fx` | string |  |
| `fx_max` | string |  |
| `fx_range` | string |  |
| `ref_fx` | string |  |
| `porb` | string |  |
| `porb_flag` | string |  |
| `pulse_per` | string |  |
| `pulse_per_flag` | string |  |
| `ref_periods` | string |  |
| `spect_type` | string |  |
| `alt_name_1` | string |  |
| `alt_name_1_flag` | string |  |
| `alt_name_2` | string |  |
| `alt_name_3` | string |  |
| `class` | string | Source classification (e.g., Be/X, SFXT, Atoll, Z) |
| `__x_ra_dec` | string |  |
| `__y_ra_dec` | string |  |
| `__z_ra_dec` | string |  |
| `binary_type` | string | Binary type: HMXB or LMXB |
| `ref_optical_name` | string |  |
| `reddening_limit` | string |  |
| `flux_limit` | string |  |
| `flux` | float | X-ray flux (mCrab or source-specific units) |
| `flux_max` | string |  |
| `flux_range` | string |  |
| `ref_flux` | string |  |
| `pulse_period` | string |  |
| `lmxb_notes` | string |  |

## Quick stats

- **305** X-ray binaries total
- **116** High-Mass X-ray Binaries (HMXB)
- **189** Low-Mass X-ray Binaries (LMXB)

## Usage

```python
from datasets import load_dataset

ds = load_dataset("juliensimon/xray-binary-catalog", split="train")
df = ds.to_pandas()

# Count by type
print(df["binary_type"].value_counts())

# HMXBs vs LMXBs
hmxb = df[df["binary_type"] == "HMXB"]
lmxb = df[df["binary_type"] == "LMXB"]
print(f"{len(hmxb):,} HMXBs, {len(lmxb):,} LMXBs")

# Sky distribution
import matplotlib.pyplot as plt
fig, ax = plt.subplots(figsize=(12, 6))
for btype, group in df.groupby("binary_type"):
    ax.scatter(group["ra"], group["dec"], s=5, alpha=0.7, label=btype)
ax.set_xlabel("RA (deg)")
ax.set_ylabel("Dec (deg)")
ax.legend()
ax.set_title("X-ray Binary Sky Distribution")
```

## Data source

All data comes from the HEASARC X-ray binary catalogs:
- [HMXB Catalog (hmxbcat)](https://heasarc.gsfc.nasa.gov/W3Browse/all/hmxbcat.html) — Liu, van Paradijs & van den Heuvel (2006)
- [LMXB Catalog (lmxbcat)](https://heasarc.gsfc.nasa.gov/W3Browse/all/lmxbcat.html) — Liu, van Paradijs & van den Heuvel (2007)

Accessed via the HEASARC TAP protocol.

## Update schedule

Quarterly (February, May, August, November 1st at 08:00 UTC) via [GitHub Actions](https://github.com/juliensimon/space-datasets).

## Related datasets

- [pulsar-catalog](https://huggingface.co/datasets/juliensimon/pulsar-catalog) — ATNF Pulsar Catalog
- [mcgill-magnetar-catalog](https://huggingface.co/datasets/juliensimon/mcgill-magnetar-catalog) — McGill Magnetar Catalog
- [chandra-x-ray-sources](https://huggingface.co/datasets/juliensimon/chandra-x-ray-sources) — Chandra Source Catalog
- [gravitational-wave-events](https://huggingface.co/datasets/juliensimon/gravitational-wave-events) — LIGO/Virgo GW Events

## Pipeline

Source code: [juliensimon/space-datasets](https://github.com/juliensimon/space-datasets)

## Support

If you find this dataset useful, please give it a heart on the [dataset page](https://huggingface.co/datasets/juliensimon/xray-binary-catalog) and share feedback in the Community tab! Also consider giving a star to the [space-datasets](https://github.com/juliensimon/space-datasets) repo.

## Citation

```bibtex
@dataset{xray_binary_catalog,
  author = {Simon, Julien},
  title = {X-ray Binary Catalog},
  year = {2026},
  publisher = {Hugging Face},
  url = {https://huggingface.co/datasets/juliensimon/xray-binary-catalog},
  note = {Based on HEASARC HMXB (Liu et al. 2006) and LMXB (Liu et al. 2007) catalogs}
}
```

## License

[CC-BY-4.0](https://creativecommons.org/licenses/by/4.0/)