How to Contribute to the Local Volume Database
Community contributions to the local_volume_database are welcome. Some potential contributions include: adding new measurements, updating current systems, adding new systems (both newly discovered and more distant), and/or new properties of current systems.
For any contributions, fork the GitHub and submit a pull request.
Example: Add or Update a Measurement
This example shows how to add or update new measurements to the database. Here we will look at a recent paper on new Magellan/IMACS spectroscopic data of two ultra-faint dwarf galaxies, Aquarius II and Bootes II (Bruce et al 2023). Link to paper on ADS
Bruce et al (2023) made new and improved measurements of the systemic velocity, velocity dispersion, mean metallicity, and metallicity dispersion of both galaxies and these updated quantities are included in LVDB. The updated results for Bootes II are shown in the code block below.
velocity:
ref_vlos: Bruce2023ApJ...950..167B
vlos_sigma: 2.9
vlos_sigma_em: 1.2
vlos_sigma_ep: 1.6
vlos_systemic: -130.4
vlos_systemic_em: 1.1
vlos_systemic_ep: 1.4
metallicity_spectroscopic:
metallicity_spectroscopic: -2.71
metallicity_spectroscopic_em: 0.1
metallicity_spectroscopic_ep: 0.11
metallicity_spectroscopic_sigma_ul: 0.37
ref_metallicity_spectroscopic: Bruce2023ApJ...950..167B
For any measurement in the database, a reference should be included.
The format for the database is author last name + ADS bibcode ( Bruce2023ApJ...950..167B for this example). The author last name should be stripped of special characters and spaces, but capitalization is not changed.
If the reference is not in the table/lvdb.bib file, you should add it.
Create the reference with “Export Citation” on ADS and update the entry to match the reference format in the database.
The content of the database can include both published and unpublished papers on the arXiv. Papers only on arXiv still have an ADS bibcode created. The reference in the database can be updated to the published version later.
Example: How to Add a New System the Database
This example walks through the progress to add a new system to the database.
Make a new yaml file in the data_input folder with the name new_system.yaml where new_system is the key of the new system. This same key needs to be included as a yaml key named key (see example_yaml.yaml files).
The easiest way to verify that the correct YAML key names are used is to copy the example yaml file code/example_yaml.yaml when creating the new YAML file. Note that example_yaml.yaml contains all possible properties/collections and keys for the database. For the new system many of the YAML parameters will not be measured and should be deleted.
There are 4 required entries for each system: key, table, ra, dec. The latter two keys are in the location collection. The table key is used to combine systems into tables in the data/ folder. The key value needs to be unique and match the file name.
List of current options for the tables:
dwarf_mw
dwarf_local_field
dwarf_m31
dwarf_local_field_distant
gc_ambiguous (note that previous versions also used gc_ufsc and gc_halo)
gc_harris
gc_mw_new (note that previous versions also used gc_disk)
gc_dwarf_hosted
candidate
misc
gc_other
The new system will be added to the catalogs by running the create_database.sh script.
LVDB key
The LVDB key is the unique identifier for each system. Some guidelines on the YAML key:
All keys should be lowercase with no spaces. Spaces in names are preferred to be replaced with underscores.
All roman numerals should be converted to arabic numbers (IV -> 4).
For satellite systems that have generic coordinate names (i.e.
dw1305p4206), the host key should be added in front of the name with a dash before the name (i.e.m_094-dw1305p4206). In general, the name in the discovery paper is kept which leads to some host have dwarf satellites with inhomogenuous names (some combination ofdw,d,lv,dw-a, etc).For most globular clusters/star clusters (MW clusters are the expection), the key should be host key + ‘_gc-’ + name (i.e.
lmc_gc-ngc_1850).
Table/Catalog Construction
The bash/zsh shell script, create_database.sh, creates the tables/catalogs, overview figures, and the summary pdf.
The script runs several python scripts, scripts/combine_table_general.py, scripts/create_latex_table.py, scripts/unit_tests.py, and scripts/create_summary_plots.py, and runs the LaTeX compilation of the pdf after.
The local_volume_databse package is a requirement to run the scripts/combine_table_general.py script.
The LVDBDIR environment variable is required to point to the directory location of the local_volume_database/data_input/ folder for the scripts to run.
scripts/combine_table_general.py– combines together all the systems, adds value-added columns and saves the catalogs (csv and fits files).scripts/create_latex_table.py– uses the output and the YAML files to create the input LaTeX data and citations files for thelvdb_table.pdf.scripts/unit_tests.py– runs unit tests to validate files.scripts/create_summary_plots.py– creates summary figures. This includes recreating all the figures in the overview paper with the latest input files and some additional figures in a single combined pdf file,paper_examples/overview_plots.pdf. The plots in the combined pdf file are for checking the content of the database (looking for outliers, etc).Lastly, latex compilation of the PDF summary,
lvdb_table.pdf.
Note that the overview_plots.pdf is not saved in the GitHub and lvdb_table.pdf is only included in the GitHub release page.
Some Ideas for Contributions
Community contributions are welcome and encouraged.
Here is a short list of items that generally focus on expanding the scope of the database:
Include gas kinematic properties. For example, peak rotation velocity and gas velocity dispersion.
Statistics on RRL or other variable/rare stars in dwarf galaxies.
Star formation history information. For example, a quenching timescale could be included.
Other star formation history tracers, FUV (GALEX, SWIFT etc), Halpha.
kinematic information for globular clusters (average velocity dispersion and central velocity dispersion).
open clusters.
LMC/SMC/M31 clusters.
Complete dwarf galaxy entries for systems beyond 3 Mpc.
Complete dwarf galaxy globular cluster systems and properties.
Existing GitHub issues are another list of potential contributions.