# Sigproc

> Software: Sigproc
> 
> Key Type(s): Int, String
> 
> Depends on: TEMPO1
> 
> Change at: Compilation
> 
> Repo: [https://github.com/FRBs/sigproc](https://github.com/SixByNine/sigproc)
> 
> Quick links: src/alias.c [https://github.com/FRBs/sigproc/blob/master/src/aliases.c](https://github.com/FRBs/sigproc/blob/master/src/aliases.c)

Sigproc requires a unique number for your telescope and processing machine to be identified. It must be changed prior to compiling and installing Sigproc. You can chose any 32-bit integer as your unique identifier, the existing IDs are present in the `alias.c` file you will be editing.

Any names must be less than 79 characters long, beyond that you may encounter undefined behaviour.

All changes need to be made in the `src/alias.c` file. Three changes are required,

- `char tempo_site(int telescope_id)` needs your chosen unique identifier and your TEMPO1 location code. Note, this should be a single character, not a string.

```C
	/*** Previous cases ***/
	case my_telescope_id:
		return my_tempo_char;
		break; // Unnecessary, but matches the rest of the function
	/*** Default case .... ***/
```

- `char *telescope_name (int telescope_id)` needs your chosen telescope name and unique identifier.

```C
	/*** Previous cases ***/
    case my_telescope_id:
    	strcpy(string, "my_telescope_name");
		break;
    /*** Default case ... ***/
```

- `char *backend_name (int machine_id)` needs your chosen processing machine name and another (or the same) unique identifier.

```C
	/*** Previous cases ***/
    case my_telescope_id:
    	strcpy(string, "my_processing_node_name");
		break;
    /*** Default case ... ***/
```