BJD
БесплатноБез исполняемых скриптовНе проверенConvert a column of observation times in a CSV or FITS table to BJD_TDB (barycentric Julian date, TDB). The input format (jd, mjd or iso) and time scale (utc…
от raktikoo163 установки в других каталогахОб этом скилле
bjd
What this tool does
bjd batch-converts one time column in a CSV or FITS table to BJD_TDB and
writes the table back with a bjd_tdb column appended, plus a printed
summary showing how large the correction was. It refuses to run unless the
input format and time scale are stated explicitly: a wrong assumption does
not crash, it silently shifts every time by seconds to over a minute.
Install
pip install git+https://github.com/RakTikoo/bjd
This provides the bjd command. Verify an install any time with
bjd check, which recomputes a built-in reference case and prints PASS
when the computed BJD_TDB matches the expected value.
Run
bjd convert times.csv --time-col jd_utc --format jd --scale utc --ra 84.291188 --dec -20.273999 --site "-24.6272,-70.4042,2635" --out times_bjd.csv
--time-colnames the column holding the observation times.--formatisjd,mjdoriso— required, never guessed. A trailingZon ISO strings is refused; state the scale instead.--scaleisutc,tt,taiortdb— required, never guessed.--ra,--decare the target coordinates in degrees (ICRS); there is no default, because the correction is a projection onto the target direction.--siteis the observatory as"lat,lon,height_m"— latitude first. Named observatories are not accepted; give coordinates.- All input columns are carried through. Output format follows the
--outsuffix (.csvor.fits); without--outthe output is<input-name>_bjd.csvnext to the input.
Reading the results
Exit code 0 means the conversion ran. The summary prints the time-column
mapping (jd_utc (jd, UTC) -> bjd_tdb (BJD_TDB)), the target, the site as
parsed, and the median shift applied with its min/max — that shift
includes the scale offset (TDB−UTC is about 69 s in recent years) plus the
light-travel term (at most about 500 s). Read the site line and the shift
before trusting the output: both are printed so a wrong assumption is
visible.
Exit code 2 means the tool refused or failed — a missing --format or
--scale, a missing column, a malformed site, an unreadable file. The
error is one clean explanation, never a traceback, and no converted
output should be used.
Limits
- Built-in ephemeris precision: the light-travel time is accurate to well under 0.1 s. For sub-second transit timing for publication, cross-check critical epochs against a JPL-ephemeris tool such as barycorrpy.
- One target and one site per run; a mixed-target table needs one run per target.
- Mid-exposure times are your responsibility: the tool converts the times it is given, so add half the exposure first if the column holds exposure-start times.
- No relativistic (Shapiro) delay and no proper-motion correction of the target.
- The sub-0.1 s precision claim covers roughly 1900–2100; outside that range the tool still converts but prints a warning.
- A swapped
--sitethat stays in range cannot be caught: if both numbers are plausible as latitude or longitude, the conversion succeeds with the wrong site and a plausible-looking correction. Only out-of-range swaps are refused — check the printed site line.
Установить BJD в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл BJD?
Convert a column of observation times in a CSV or FITS table to BJD_TDB (barycentric Julian date, TDB). The input format (jd, mjd or iso) and time scale (utc, tt, tai or tdb) must be stated explicitly — the tool refuses to guess either. Use when asked to convert times to BJD or BJD_TDB, correct observation times to the solar-system barycentre, or prepare exoplanet transit timing tables. Not for cross-matching catalogues from different epochs (use epochmatch), deciding which targets are observable tonight (use tonight), or auditing FITS headers (use fitslog).
Как установить скилл BJD?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл BJD запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic