Electrification.get_indep_line_names

Electrification.get_indep_line_names(verbose=False)

Get names of independent lines.

Parameters

verbose (bool or int) – whether to print relevant information in console, defaults to False

Returns

a list of independent line names

Return type

list

Example:

>>> from pyrcs.line_data import Electrification

>>> elec = Electrification()

>>> l_names = elec.get_indep_line_names()

>>> l_names[:5]
['Beamish Tramway',
 'Birkenhead Tramway',
 'Black Country Living Museum',
 'Blackpool Tramway',
 'Brighton and Rottingdean Seashore Electric Railway']