musrStep 1.0.0
Loading...
Searching...
No Matches
musrStep.cpp File Reference

Main entry point for the musrStep application. More...

#include <iostream>
#include <cstring>
#include <QApplication>
#include <QtDebug>
#include "PMusrStep.h"

Functions

void musrStep_syntax ()
 Prints the command-line syntax and usage information to stdout.
 
int main (int argc, char *argv[])
 Main entry point for the musrStep application.
 

Detailed Description

Main entry point for the musrStep application.

musrStep is a Qt-based GUI application for adjusting fit parameter step sizes in muSR msr-files. It provides an interactive interface to view, select, and modify the step values of fit parameters used by musrfit.

The application supports both automatic step size adjustment based on parameter naming conventions and manual scaling by user-defined factors.

Author
Andreas Suter
Date
2007-2026

Function Documentation

◆ main()

int main ( int argc,
char * argv[] )

Main entry point for the musrStep application.

Parses command-line arguments and launches the musrStep GUI.

The application expects exactly one argument which can be:

  • A path to an msr-file to open
  • -v or –version to display version information
  • -h or –help to display usage information
Parameters
argcNumber of command-line arguments
argvArray of command-line argument strings
Returns
0 on success, 1 on error or invalid usage

◆ musrStep_syntax()

void musrStep_syntax ( )

Prints the command-line syntax and usage information to stdout.

This function displays the available command-line options:

  • <fln>: The msr-file name to open and edit
  • -v, –version: Display git version information
  • -h, –help: Display this help message