dwave_networkx.pegasus_coordinates.linear_to_nice# pegasus_coordinates.linear_to_nice(r)[source]# Convert a linear index into a 5-term nice coordinate. Parameters: r (int) – Linear index. Examples >>> dnx.pegasus_coordinates(2).linear_to_nice(4) (0, 0, 0, 0, 0)