This repository contains a Time to Frequency Converter tool that allows users to perform various operations related to time and frequency conversion. Below are instructions on how to download, install, and execute the code.
To download the code, use the following command in your terminal:
git clone https://github.com/ruijiuchen/TimeToFrequencyConverter.git
After downloading the code, navigate to the project directory and install the required dependencies using:
pip install -r requirements.txt
pip install ./
Once installed, you can execute the Time to Frequency Converter by running the following command:
TimeToFrequencyConverter
This will launch the tool and provide you with the necessary interfaces for performing time and frequency conversion operations. Make sure to follow any additional instructions provided in the tool's interface for specific use cases.
- Description: The method used for sampling.
- Command Line Argument:
--sampling_method
- Type: Integer
- Values: 1 (sine wave) or 2 (gaussian)
- Description: The sampling rate in Hertz.
- Command Line Argument:
--sample_rate
- Type: Float
- Description: The width of the signal in seconds.
- Command Line Argument:
--signal_width
- Type: Float
- Description: The plotting option.
- Command Line Argument:
--plot_opt
- Type: Integer
- Values: 0 (no plot), 1 (plot only up panel), 2 (plot up and bottom panels)
- Description: The time range for plotting.
- Command Line Argument:
--plot_time_min
and--plot_time_max
- Type: Float
- Units: Seconds
- Description: The frequency range for plotting.
- Command Line Argument:
--plot_fre_min
and--plot_fre_max
- Type: Float
- Units: Hertz
- Description: The starting step for the conversion process.
- Command Line Argument:
--start_step
- Type: Integer
- Values: 1, 2, or 3
- Description: The file containing simulated data.
- Command Line Argument:
--SimulatedDataFile
- Type: String
- Example: Path to the simulated data file
Feel free to explore and contribute to the TimeToFrequencyConverter project!
For inquiries, please contact:
Ruijiu Chen Email: [email protected] Email: [email protected]