Albatross is a specialized tool designed for processing and analyzing golf shot data. It works with data from launch monitors, standardizing the output for consistent analysis.
- Parse shot data from CSV files
- Support for MLM2Pro launch monitor
- Normalize club types (e.g., "3 wood" -> "3W")
- Determine shot types (Tee or Approach)
- Calculate median target distances for each club type
- Export processed data to CSV in Shot Pattern format
Currently, Albatross supports the MLM2Pro launch monitor. If you need support for additional launch monitors, please open an issue on our GitHub repository.
Albatross currently outputs processed data in the Shot Pattern format. This is the default and only output format available.
To install this project, make sure you have Go installed on your system, then clone the repository:
git clone https://github.com/pblittle/albatross.git
cd albatross
Albatross is a command-line application. Here's how to use it:
go run main.go -type <launch_monitor_type> -input <input_csv_file>
For example:
go run main.go -type mlm2pro -input input_data.csv
Command-line flags:
-type
: Specifies the launch monitor type (e.g., "mlm2pro")-input
: Specifies the path to the input CSV file
This will process the input_data.csv
file using the MLM2Pro launch monitor type and output a file named input_data_processed.csv
in the same directory.
To run the tests, use the following command:
make test
This will run all tests in the project, including unit tests and end-to-end tests.
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Sign and commit your changes (
git commit -sam 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request
This project is distributed under the MIT License.