# Logic for Structure Determination

> Scientific software to find all possible 2D molecular structures of an organic compound that are compatible with its NMR spectroscopic data

**Wikidata**: [Q111549556](https://www.wikidata.org/wiki/Q111549556)  
**Source**: https://4ort.xyz/entity/logic-for-structure-determination

## Summary
Logic for Structure Determination (LSD) is scientific software designed to deduce the molecular architecture of organic compounds. It functions by calculating all possible 2D molecular structures that are chemically compatible with a given set of NMR spectroscopic data. The software is open-source and available to the public under the GNU General Public License.

## Key Facts
- **Full Name:** Logic for Structure Determination.
- **Acronym:** LSD.
- **Primary Function:** Finds all possible 2D molecular structures of an organic compound compatible with its NMR spectroscopic data.
- **Software Class:** Scientific software (non-tangible executable component of a computer).
- **License:** GNU General Public License, version 2.0.
- **Copyright Status:** Copyrighted.
- **Source Code Repository:** Hosted on GitHub at `https://github.com/nuzillard/LSD`.
- **Official Website:** `https://nuzillard.github.io/LSD/` (Available in English and French).

## FAQs
### Q: What is the primary purpose of Logic for Structure Determination (LSD)?
A: The software is used to identify the chemical structure of organic compounds. It generates every potential 2D molecular arrangement that aligns with provided NMR spectroscopic data.

### Q: Is Logic for Structure Determination free to use?
A: Yes, the software is copyrighted but distributed under the GNU General Public License, version 2.0, which allows users to run, study, and share the software.

### Q: Where can the source code for LSD be accessed?
A: The source code is publicly available in a repository hosted on GitHub.

## Why It Matters
Logic for Structure Determination addresses a critical challenge in organic chemistry: the elucidation of molecular structures from spectral data. Determining the exact arrangement of atoms in a molecule is fundamental to understanding its properties and reactivity. While NMR spectroscopy provides the necessary data to solve this puzzle, interpreting that data to form a coherent structural diagram can be complex and prone to human error.

LSD matters because it automates this interpretive process, ensuring that chemists do not miss potential structural candidates. By generating *all* possible 2D structures compatible with the data, it eliminates the bias or oversight that might occur in manual analysis. This capability is particularly valuable in the discovery of new natural products or the verification of synthetic compounds. Its availability as open-source software under the GNU GPL v2.0 further enhances its relevance, allowing researchers to inspect the logic behind the tool and integrate it into broader analytical workflows without proprietary restrictions.

## Notable For
- Generating all theoretically possible 2D structures rather than a single probable solution.
- Specifically targeting the analysis of organic compounds.
- Utilizing NMR (Nuclear Magnetic Resonance) spectroscopic data as its primary input.
- Being an open-source tool available for free modification and distribution.
- Providing user support and documentation in both English and French.

## Body
### Overview
Logic for Structure Determination (commonly referred to by its acronym LSD) is a specialized software tool classified as a "non-tangible executable component of a computer." It is designed to assist chemists and researchers in the field of organic structure elucidation. The software operates by taking experimental data from NMR spectroscopy and applying logical constraints to deduce the carbon skeleton and functional groups of an unknown organic compound.

### Technical Functionality
The core function of LSD is to bridge the gap between raw spectroscopic data and chemical structure. In organic chemistry, a single set of NMR data can sometimes correspond to multiple different structural isomers. Unlike tools that might predict the most likely structure, LSD is designed to exhaustively list every possible 2D molecular structure that satisfies the input constraints. This ensures a comprehensive analytical result for the researcher.

### Licensing and Availability
The software is copyrighted but released under the GNU General Public License, version 2.0. This licensing model classifies it as free and open-source software (FOSS), granting users the freedom to execute, study, alter, and redistribute the software. The project is maintained via a source code repository on GitHub, facilitating version control and community access. Its official website serves as a portal for documentation and software downloads, presented in both English and French to accommodate a broader international user base.