The dataset viewer is not available for this subset.
Exception: SplitsNotFoundError
Message: The split names could not be parsed from the dataset config.
Traceback: Traceback (most recent call last):
File "/usr/local/lib/python3.12/site-packages/datasets/inspect.py", line 289, in get_dataset_config_info
for split_generator in builder._split_generators(
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/packaged_modules/webdataset/webdataset.py", line 83, in _split_generators
raise ValueError(
ValueError: The TAR archives of the dataset should be in WebDataset format, but the files in the archive don't share the same prefix or the same types.
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/src/services/worker/src/worker/job_runners/config/split_names.py", line 65, in compute_split_names_from_streaming_response
for split in get_dataset_split_names(
^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/inspect.py", line 343, in get_dataset_split_names
info = get_dataset_config_info(
^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/inspect.py", line 294, in get_dataset_config_info
raise SplitsNotFoundError("The split names could not be parsed from the dataset config.") from err
datasets.inspect.SplitsNotFoundError: The split names could not be parsed from the dataset config.Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
Light Modulation Analysis Dataset
Dataset Description
This dataset contains current-time curve data, extracted features, and analysis outputs from light modulation simulations of organic photovoltaic devices. The dataset includes both raw JT curves and processed features from FFT (Fast Fourier Transform) and JT cycle analysis.
Dataset Summary
- Total Files: ~5,000 files
- Dataset Size: ~436 MB (compressed: ~XXX MB)
- Modulation Types: Sinusoidal and Square waveforms
- Data Types:
- Raw JT curve time-series data (.txt files)
- Extracted JT cycle features (CSV)
- FFT spectral analysis features (CSV)
- GRASPI morphological features (CSV)
- Analysis plots and visualizations (PNG)
Dataset Structure
data/
βββ modulation_profile/ # Light modulation waveform definitions
β βββ LM_sinusoidal.txt
β βββ LM_square.txt
βββ all_jt_curves/ # Raw JT curve time-series data
β βββ sinusoidal/ # Sinusoidal modulation JT curves
β βββ square/ # Square modulation JT curves
βββ sample_jt_curves/ # Sample subset of JT curves
βββ morph_images/ # Morphology images
βββ jt_features_out/ # Extracted JT cycle features
β βββ jt_features_sinusoidal.csv
β βββ jt_features_square.csv
β βββ figs_*/ # Analysis plots
βββ fft_features_out/ # FFT spectral analysis features
β βββ fft_features_sinusoidal.csv
β βββ fft_features_square.csv
β βββ */ # FFT spectrum plots
βββ features_data.csv # Merged feature dataset
βββ graspi_features.csv # GRASPI morphological features
βββ figures/ # Publication-quality figures
Data Fields
JT Curve Files (.txt)
Each JT curve file contains time-series data with the following columns:
time(sec): Time in secondsJ: Current density in mA/cmΒ²
JT Features
Extracted features from JT cycle analysis:
- Peak Features:
peak_value,peak_time,left_min_value,right_min_value - Amplitude Features:
left_amplitude,right_amplitude,avg_amplitude - Temporal Features:
rise_time_ps,fall_time_ps,cycle_time_ps,time_avg_value - Phase Features:
phase_shift_ps - Shape Features:
skewness,skewness_2,asymmetry - Metadata:
filename,modulation_type
FFT Features
Spectral analysis features:
f1_Hz: Fundamental frequency (Hz)H1_amp: Fundamental harmonic amplitudeTHD_ratio: Total Harmonic DistortionOER_odd_over_even: Odd-to-even harmonic ratioharmonic_decay_slope_per_k: Harmonic amplitude decay slopesampling_jitter: Temporal sampling jitterfilename,modulation_type
Usage
Download the Dataset
Option 1: Using the provided script (Recommended)
Clone the Light Modulation Analysis repository:
git clone https://github.com/baskargroup/LightModulation.git cd LightModulationInstall dependencies:
pip install -r requirements.txtDownload the data:
python download_data_from_hf.py --repo-id BGlab/light-modulation-data
The script will automatically:
- Download the compressed archive
- Extract to
data/folder in the git root - Verify the extraction
Option 2: Using Hugging Face Hub
from huggingface_hub import hf_hub_download
import tarfile
# Download the archive
archive_path = hf_hub_download(
repo_id="BGlab/light-modulation-data",
filename="data.tar.gz",
repo_type="dataset"
)
# Extract to current directory
with tarfile.open(archive_path, 'r:gz') as tar:
tar.extractall()
Using the Data
Once downloaded, you can load the feature datasets:
import pandas as pd
# Load merged features
features = pd.read_csv('data/features_data.csv')
# Load GRASPI features
graspi = pd.read_csv('data/graspi_features.csv', delimiter=' ')
Dataset Creation
Source Data
The dataset was generated from light modulation simulations of organic photovoltaic devices. JT curves were collected from simulation outputs and processed using the Light Modulation Analysis pipeline.
Preprocessing
- JT Cycle Analysis: Extracted temporal and amplitude features from current-time cycles
- FFT Analysis: Performed spectral decomposition to extract harmonic content
- Feature Merging: Combined JT, FFT, and GRASPI features into unified dataset
Analysis Windows
- Sinusoidal modulation: Analysis window [0.89e-9, 0.96e-9] seconds
- Square modulation: Analysis window [0.8e-9, 0.9e-9] seconds
Citation
If you use this dataset in your research, please cite:
@dataset{light_modulation_2024,
title={Light Modulation Analysis Dataset},
author={BGlab},
year={2024},
url={https://huggingface.co/datasets/BGlab/light-modulation-data}
}
License
This dataset is released under the MIT License.
Contact
For questions or issues, please contact the maintainers.
Acknowledgments
This dataset was created as part of research on light modulation effects in organic photovoltaic devices.
- Downloads last month
- 6